Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format
Message
De
12/12/1999 18:05:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00302481
Message ID:
00302488
Vues:
19
>I'm trying to input a date on a form and then use it to check what data to process. I've set the input mask to 99/99/9999. Does that tell VFP that the date will be a date? I then check to make sure the date is not blank. I have IF EMPTY(THISFORM.txtMdate) ...

You need to initialize the data source to {}, an empty date value, and set the control's Format propert to "D" if you want it to accept the current setting for SET DATE, "YS" to use the current Windows System Short Date format, or "YL" to use the current WIndows System Long Date format.

>I get an error message at the IF statement about data type mismatch.
>I need help.
>
>TIA
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform