Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted records problem, Again!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00049672
Message ID:
00049829
Vues:
66
>Ed,
>As I said originally, I did try putting SET DELETED command everywhere, including the Init method of the form but it doesn't work. Actually, I've found out you must put the command in the BeforeOpenTable method of the DE in order for this to work. Thanks anyway.
>
>John
john,

Actually it will work iin the Init of the form. SET DELETED does nothing to the record pointers, so if your DE opens the table and places the pointer on the deleted record and then in your Init you turn deleted on, the pointer is still on that record. The solution is in the Init you can;

SET DELETED ON
LOCATE && Moves to the first valid record
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform