Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Environment for private data session
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00045756
Message ID:
00045779
Views:
28
>Could someone tell me how to set environment ( SET TALK, DELETED, CENTURY etc. ) to be default for all data sessions, Because when I work with private data session I have different environment than default data session.
>
>Zoran Milivojevic
>kreda@Eunet.yu
Zoran,

I have a SetEnv class that is based on the line and has all my SET commands in its Init. The Init of this calss ends with a RETURN .F.. IN the BeforeOpenTables of every form's DE I put;

loSetEnv = CreateObject("SetEnv")

which tries to create the setenv object, its Init runs and sets the environment and then returns .F. so it never really created.
Previous
Reply
Map
View

Click here to load this message in the networking platform