gda_recordset_set_connection

Name

gda_recordset_set_connection —

Synopsis

gint gda_recordset_set_connection (Gda_Recordset* rs, Gda_Connection* cnc);

Arguments

rs

the rcordset

cnc

the conneciton

Description

Associates a recordset with a connection. This function must not be called on a already opened recordst. This function must be called before any of the the gda_recordset_open_txt() or gda_recordset_open_cmd() functions is called.

Returns

0 if everyhting is okay, -1 on error