Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment has its own settings
Message
From
16/07/1998 18:09:54
 
 
To
16/07/1998 16:02:33
Bob Lucas
The WordWare Agency
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00118159
Message ID:
00118386
Views:
36
When would the form object do its thing? In its Init? If so, is there an issue in that the DS has already been created? The only problem I could see is that if you have already pulled data, the data might not be correct (like if ANSI=.F. for the DS, and the form object tries to set it to .T., then it might be too late).


>Another way is to have two environment type objects. One object is global and has the settings for all the VFP set commands. The other would be scoped to your form and part of your form base class. When this object instantiated it would gather the private settings (the subset that is affected by a private data session) from the global class and reissue the set statements. The form object uses the global object to determine values, or it can have the global values overriden.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform