Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT cursor question
Message
From
16/02/2001 11:02:48
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00476388
Message ID:
00476655
Views:
23
Unfortunately CONVERT() returns char field, and TTOD(),as Barbara mentioned, has nothing to do with SPT...
If I have a remote view, I can change the field type from T to D. Can I do something similar with the SPT cursor?

>>>Is there a way to convert datetime to date fields in SPT cursor?
>>
>>Would TTOD() do what you want?
>>
>>SELECT TTOD(tMyDateTime) AS dMyDate...
>
>You can only use functions that the back end will understand for SPT. I think CONVERT() may be what's needed here.
Previous
Reply
Map
View

Click here to load this message in the networking platform