UltraLite Static C++ User's Guide
C++ API Reference
Generated result set class
bool Open( ULConnection * conn,
datatype value, ... )
The UltraLite generator defines a class for each named statement in an UltraLite project that returns a result set. This class inherits methods from ULCursor.
You must supply a value for each placeholder in the result set.
conn The connection on which the result set is to be opened.
value The value for the placeholder in the result set.
The following query contains a single placeholder:
select prod_id, price, prod_name from "DBA".ulproduct where price < ?
The generator writes out the following methods for the object (in addition to some others):
bool Open( ULConnection* conn, long Price ); bool Open( ULConnection* conn ); bool SetParameter( int index, long &value );