Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Century command
Message
 
To
09/12/1998 05:23:21
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00165455
Message ID:
00165534
Views:
25
SET CENTURY is one of the SET's that are scoped to the current Data Session. I would suggest putting SET CENTURY ON in your DE.Init()

>Hi all,
>
>I have two textboxes in a form that works with date ranges.Both,are in a control class.I put SET CENTURY ON in the Init() of the ctlListRange.Then in the Init() of both textboxes, I put SET CENTURY TO 19 ROLLOVER 60.I have a problem with this, because if an error occurs, say a date range error, and the error routine executes successfully, when the control returns to the form that contains both textboxes, SET CENTURY has no effect and format becomes to 99/99/99 in place of 99/99/9999.
>
>1)Is this problem because SET CENTURY take place only during the current control ?
>2)How do you fix it ?
>
>thanks all
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform