Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default SET commands by code??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00164031
Message ID:
00165347
Views:
32
>
>Thanks Marcia.
>
>The reason why I ask is that it seems to take time setting the SET commands for every private data session, at time up to a second, and we try to reduce this time.

Hi Klas.

How are you doing this? I have a little DoSets function in my procedure file that gets called from the BeforeOpenTables method of every form ( and that's most of them in my app) with a private data session. The impact on performance is not noticeable. I also have the following code in my base form class to remind me in case I forgot to add it:
IF SET("DELETED") == "OFF"
   =MessageBox("Hey Stupid, Did you Forget DoSets?", 16, Getting Forgetful?")
ENDIF
Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform