Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Datatype in Cursor like in Remote View?
Message
 
To
14/02/2001 05:11:07
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00475394
Message ID:
00475943
Views:
45
Hi C.W.,
That does only return the Date portion, but then the datatype is Character. I need it to be VFP Date datatype.
It may not be possible without using a Remote View, but I've been suprised in the past... Thanks

>You can use a command in your SQL statement as follows:
>
>"convert(char(12),RM20101.DOCDATE,101)AS DOCDATE,"
>
>This gives you just the date portion of the field "char(12)". Also, read Convert() in SQL books online. The ",101" code(s) are important.
>
>
>C. W. Finch
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform