Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET CENTURY OFF and CBizObjMaintenanceForm
Message
From
20/07/1999 07:23:24
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00243064
Message ID:
00243490
Views:
20
James,

I did that with no change in behavior, besides the documentation states that I can change the local environment globally by changing the cSessionEnvironment object in the cGlobalEnvironment class.

I found part of the problem to be the setting of Sparse in the date column, but I still can't get all items in the grid to have 2 digit years.

Any other ideas?

Thanks

Rex

>>All,
>>
>>I have a cBizObjMaintenanceForm using a date field in the Grid. If I SET CENTURY OFF in the cGlobalEnvironment object, I get the selected line with a 4 digit year and the rest of the date as 2 digit years. If I SET CENTURY ON, all rows show 4 digit years.
>>
>>This appears to be a bug.
>>
>>How can I fix this behavior?
>>
>>TIA
>>
>>Rex
>
>Rex,
>
>I don't believe this to be a bug. There is a global environment and a session environment. Try setting the session environment property instead of the Global Environement. Certain set commands are meant to be overridden in the session they are running.\
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform