Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date functions
Message
De
05/05/1999 14:19:13
 
 
À
05/05/1999 14:14:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00215441
Message ID:
00215444
Vues:
16
>How do i take the value of a text box and convert it to a date data type? i have tried the followinf and no luck
>set century off
>set date to american
>james = form1.container2.text1.value
>james2 = {james}

If form1.container2.text1.value is a character string, you'd use CTOD()

>jamesa = form1.container2.text2.value
>james3 = {jamesa}
>REPORT FORM c:\fxpro\reports\patienti.frx for date1 => james2 and date1 <= james3 to printer noconsole
>i cannot get the values to convert into the new data type
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
Répondre
Fil
Voir

Click here to load this message in the networking platform