General information
Category:
Coding, syntax & commands
Erin seems to be happy with your answer,but it does leave me with a question...
The Help for "CREATE CURSOR - SQL Command" says:
"CREATE CURSOR creates a temporary table that exists until it is closed. You can manipulate a temporary table created with CREATE CURSOR like any other table — you can browse and index it, and you can append and modify records.".
If one can manipulate it like any other table AND it is ALWAYS opened EXCLUSIVE by definition, I wonder why it can't be PACKed?
>You cannot PACK cursor. SET DELETED ON should take care. The deleted records still be there but VFP'll ignore them.
>
>>Hi all,
>>
>>This is a pretty basic question. I have a cursor, and I would like to remove rows from it when the user clicks a button. I've created my cursor using the "CREATE CURSOR" syntax. I can mark them for deletion, but I am unable to use the PACK command to wipe them out totally. I know there's another way to do this, but I'm unsure how. Any suggestions?
>>
>>Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only