Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTOD() - problems again
Message
De
29/02/2000 12:30:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00339162
Message ID:
00339232
Vues:
22
>>Hi everybody,
>>
>>I tried to convert one output format to another. In the first one the date field is character field 8 and looks like 02/01/00, for example.
>>In the second date is date format. In expression builder I tried ctod(date) and it gives me a strange error: "Expression must be of type N", which, of course, confuses me. I assume, that it because of SET STRICTDATE (I just checked it and it set to 1 in this application).
>>What should I do? Create a UDF?
>
>Just want to add, that if I just tried in Command window ctod('01/01/00') it gives me 01/01/2000, so works fine. Could it be VFP expression builder bug? I'm using VFP 6.0 SP3.

SET DATE is scoped to the data session.
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