Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Commands for Private data sessions.
Message
From
19/02/2003 16:54:13
 
 
To
19/02/2003 16:40:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00755214
Message ID:
00755222
Views:
8
>What is the best way to set "SET COMMANDS' for private data sessions. I was think of putting them in a procedure and calling it from the init method of the form. Is this a reasonable approach or is there a better way?

Putting it in the Init of the form is more than likely too late. Call your procedure from the Load event of the form, that way the SET commands will take effect before any of the controls on the form are instanciated. If you use data environments, you may need to put you call in the BeforeOpenTable event of the dataenvironment.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform