Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Commands for Private data sessions.
Message
From
19/02/2003 17:06:02
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00755214
Message ID:
00755232
Views:
9
>>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.

Is putting commands in a procedure called from either load or beforeopentable method the best way to set the commands?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform