Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resort after delete at mygrid
Message
From
30/09/2004 09:00:21
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
30/09/2004 05:31:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947441
Message ID:
00947488
Views:
20
Hi,
Use RECALL to recover the deleted records, the code example below should give you a starter.
Also note that recall will recover ALL deleted records, not only the ones you have just deleted.

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata')
USE customer && Opens Customer table

DELETE FROM customer WHERE country = 'USA' && Mark for deletion
CLEAR
LIST FIELDS company, country FOR DELETED( ) && List marked records
RECALL ALL && Unmark all records marked for deletion
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform