Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CENTURY OFF and CBizObjMaintenanceForm
Message
De
20/07/1999 07:23:24
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
À
19/07/1999 14:27:00
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00243064
Message ID:
00243490
Vues:
26
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.\
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform