Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maybe I'm just plain dumb.
Message
De
11/07/2001 20:48:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Maybe I'm just plain dumb.
Divers
Thread ID:
00529525
Message ID:
00529525
Vues:
46
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform