Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting and removing at the same time
Message
De
11/08/2003 16:52:09
 
 
À
11/08/2003 15:48:53
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00819031
Message ID:
00819156
Vues:
23
>>>>Use SET DELETE ON setting so you wouldn't need NOT DELETED() in your select. Anyway you cannot use NOT DELETED() in multi-table select because it may produce incorrect or unexpected results.
>>>
>>>Thanks Sergey. Another lesson learned:)
>>
>>Keep in mind that SET DELETE ON is scoped to the datasession.
>
>IOW, it has to be reset each time it is need in the IntereactiveChange? Or can I simply place Set Deleted On in the Init event of the form itself?

Put it in the Load event of the form. IF you had any controls bound to a table that had deleted records, the Init is too late to prevent that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform