Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DELETED OFF still show deleted records??
Message
From
28/05/1998 10:24:27
 
 
To
28/05/1998 07:11:20
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102563
Message ID:
00102738
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform