Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this select
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01186512
Message ID:
01186534
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>select date(yr,mn,1) as sysDate from result into cursor dates
>yr is numeric
>mn is numeric
>
>what's wrong with the function? i.e. if i type ?date(yr,mn,1) in the command window, I get a date result

this will work as long as yr and mn have correct values.
Perhaps you have one (or more) records with a 0 (zero) or .NULL. in at least one of the fields!?
In this case, the execution would fail and you would get the error you have mentioned.
Holger Vorberg
Germany
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform