Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Century command
Message
 
À
09/12/1998 05:23:21
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00165455
Message ID:
00165534
Vues:
24
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform