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.comNever mistake having a career with having a life.