Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maybe I'm just plain dumb.
Message
From
11/07/2001 20:48:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Maybe I'm just plain dumb.
Miscellaneous
Thread ID:
00529525
Message ID:
00529525
Views:
44
Sorry but I don't understand VFP documentation in this matter. Please somebody help.
I have a field in which a date should be entered. I want that field being a text field that'll convert to date afterwards, and I want the user to enter the last two digits of the year only.
First problem: I set the Input mask to ##/##/19## so that the user doesn't have to enter the whole year, but the field only displays / /1 (the 9 is missing) ??
Second problem:
This field calculates the age of a person. But if I enter a date with a 2 digit year lower than 1950, it calculates a negative number. I've read the documentation regarding the SET CENTURY stuff, but frankly I don't understand what to do with the SET CENTURY TO and ROLLOVER thing to accomplish this.
TIA
Ulises.
Next
Reply
Map
View

Click here to load this message in the networking platform