Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this select
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01186512
Message ID:
01186586
Views:
18
>>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.


That's it!

Thanks again,
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform