Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resort after delete at mygrid
Message
De
30/09/2004 09:00:21
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
30/09/2004 05:31:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00947441
Message ID:
00947488
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform