Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DELETED OFF still show deleted records??
Message
De
28/05/1998 10:24:27
 
 
À
28/05/1998 07:11:20
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00102563
Message ID:
00102738
Vues:
22
>Can I set the SET DELETED ON during the starting of my progrma in main.prg? Then I do not want to bother it anymore, will it have any effect when i am in the private data session?

If you set DELETED ON in your main program, it will only affect tables opened in the default datasession. Each datasession respects it's own TALK, ECHO, DELETED et al. This is why it is important for you to place these SETS in one of the starting events in a form with private datasession, preferably in the DataEnvironment. As I stated before, my personal preference is to put all my SETs in the BeforeOpenTables event of the form's DataEnvironment.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform