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:
01186533
Views:
24
>>I have a cursor called Result
>>It has a number of fields in it, of which 2 are yr=year and mn=month
>>
>>The error I am getting is:
>>Function argument value,type or count is invalid.
>>
>>
>>I have reduced the select that is causing me grief to thus
>>
>>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
>>
>>I'm going to bed now, it is not obvious... at least to me.
>>
>>Mike
>
>It works for me:
It works for me too.
Previous
Reply
Map
View

Click here to load this message in the networking platform