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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com