Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Field and Force 4 Digit Date
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00972469
Message ID:
00972470
Views:
14
>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

Previous
Reply
Map
View

Click here to load this message in the networking platform