Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Datatype in Cursor like in Remote View?
Message
 
À
14/02/2001 05:11:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00475394
Message ID:
00475943
Vues:
46
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform