Contents | Prev | Next

4.2.44 rsdefault

Description

rsdefault is used when opening a recordset (see recordset.open) to specify that the default type of recordset should be opened. If you are connected to a database with ODBC or if you are connected to a MySQL database then a forward type recordset is opened.

Example

   rs.open(conn, sSQL, rsdefault);

In the example above

   rs is the recordset object that will contain the opened recordset.

   conn is the connection object containing an open connection to a database.

   sSQL is a string variable containing the SQL statement that defines the recordset.

   rsdefault specifies that the default type of recordset should be opened.

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next