Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting rows from a cursor
Message
From
07/12/2002 19:42:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00730665
Message ID:
00730678
Views:
7
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
Map
View

Click here to load this message in the networking platform