Contents Index Next method Previous method

UltraLite Static C++ User's Guide
  C++ API Reference
    ULCursor class

Open method


Prototype 

bool  Open( ULConnection * conn )

Description 

Opens a cursor on the specified connection. If the object is a result set with parameters, you must set the parameters before opening the result set.

When using Open from the ULTable subclass of ULCursor, do not open two connections on a ULTable objct at one time.

Returns 

true (1) if successful.

false (0) if unsuccessful.

Example 

The following example opens a result set object (which extends the cursor class) and moves the cursor position to the first row:

rs.Open( &conn );
rs.BeforeFirst();
rs.Next();
See also 

Close method

Open method


Contents Index Next method Previous method