Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Field and Force 4 Digit Date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00972469
Message ID:
00972470
Vues:
15
>I'm using a textbox to collect a Date of Birth on a new record. The control source is a form variable that is initialized with a blank date {}. Is there a way to force the user to enter a complete 4 digit year rather than just a 2 digit year?
>
>Thanks
>
>Kirk

The textbox has property named Centry:
Setting Description 
0 Off. The century portion of the date is not displayed. 
1 (Default) On. The century portion of the date is displayed. 
2 The SET CENTURY setting determines if the century portion of the date is displayed. 
If SET CENTURY is ON, the century portion of the date is displayed. 
If SET CENTURY is OFF, the century portion of the date is not displayed. 
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform