Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session Environment
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00109703
Message ID:
00109735
Views:
35
Importance: Normal I'd like to see a place to globally SET CENTURY nn ROLLOVER nn. I've traced through a CBMM app from startup, watching SET("CENTURY",2) bounce around from 0 to 50 (where I've set the default nRollover in CSessionEnvironment in CEnviron.vcx) throughout the app. I don't want it ever to be 0 at this point! Why isn't this in CGlobalEnvironment? Any suggestions? Rob | | | | Jose, | | >I have a cBizObjMaintenanceForm and in Page 1 I have a BizObj | and in page 2 I have many of them. Where is the correct place to | change cSessionEnvironment.cDate for all the form ? And If I want | to change this setting in all my application ?> | | Great question...the answer (for now) is to place it in the | business object that is last to instantiate. As you know, each | business object has an instance of the Session Environment | object...which is a not-so-great design passed down from VFP3 | Codebook. At any rate, each business object sets the environment | as it instantiates. The last business object to instantiate wins, | and its settings are the *final* settings. | | I have fixed this in the next version of the Mere Mortals | Framework (3.02) which will be released in a few weeks. I | recommend that you wait till then to try this so you have a | complete solution. | | Regards, |
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform