Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting records from a cursor
Message
From
28/08/2006 10:43:48
 
 
To
28/08/2006 10:41:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01148971
Message ID:
01149044
Views:
10
>To delete all records in cursor (assume name c_mycursor)
>
>
>LOCAL lcSafety
>lcSafety = SET("SAFETY")
>SET SAFETY OFF
>SELECT c_mycursor
>ZAP
>SET SAFETY (lcSafety)
>
>
>If SAFETY is not set to off, a dialog will prompt you to verify the zap.

Sorry, but this is wrong, you don't have to set safety off to zap a cursor.
Previous
Reply
Map
View

Click here to load this message in the networking platform