SetDynasetOption
Applies To
OParameter
Description
Set the dynaset option for the dynaset created from the PL/SQL cursor.
Usage
void SetDynasetOption(unsigned int option);
Remarks
This should be called before executing the PL/SQL procedure containing cursor
variable. By default, the dynaset is created with ODYNASET_READONLY option.
The possible values are:
ODYNASET_DEFAULT &H0& Accept the default behavior.
ODYNASET_NO_BLANKSTRIP &H2& Do not strip trailing blanks from character
string data retrieved from the database.
ODYNASET_NOCACHE &H8& Do not create a local dynaset data cache
Without the local cache, previous rows within a
dynaset are unavailable; however, increased
performance results during retrieval of data from the
database (move operations) and from the rows (field
operations). Use this option in applications that
make single passes through the rows of a dynaset
for increased performance and decreased resource
usage.
ODYNASET_NO_MOVEFIRST &H40& Does not force a movefirst on dynaset
creation. BOF and EOF are both TRUE.