problems to destroy a cursor
-= JB =-
sundown at pacifier.com
Mon Mar 24 11:59:44 CDT 2008
I am using Revolution 2.9.0 and Valentina 3.5.1
In the Reference PDF is states the below concerning a cursor from a
SQL command.
Note: When finished with a cursor, you must assign it the value nil
to destroy it and free
memory.
Does this mean I need to somehow nil the cursor before I destroy it
or are they trying
to say I need assign it a value of nil by destroying it which will
free the memory.
I am able to get a cursor ref number and the following seems to
destroy it but I am
not able to check and see if it has been destroyed.
get VCursor_Destructor(curs)
How can I check to see if the cursor has been destroyed and can
it cause problems to destroy a cursor that was already destroyed.
Also the reference pdf mentions another way to destroy a cursor
is to use the following:
get Cursor_Destroy(curs)
When I use the above to destroy the cursor I get an error message
when the
script executes.
thanks,
-=>JB<=-
More information about the Valentina
mailing list