Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Century in a textbox
Message
De
20/07/2005 04:11:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01034139
Message ID:
01034144
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
>Hi
>I have a problem with the century part of the date.
>I have a form with a container in it and a textbox in the container. The textbox has a date variable as a controlsource and displays the four digit century part of the date when without the focus and a two digit century when having the focus. I want it always display only the two digit century.
>In the main prg:
>Set Century to 19 rollover 95
>Set Century Off
>Set Date to German
>
>Textbox.Century=Off
>
>Nowhere in the program the century settings are changed.
>
>Thank you.

SET CENTURY is scoped to the current DataSession, is your form using a private data-session? if so then set the CENTURY setting in your form.Load() event.

Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform