Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC() return set not what I need
Message
From
19/07/2001 09:47:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00532497
Message ID:
00532501
Views:
14
>I'm running a simple stored procedure on an SQL7 server from VFP 6. The data type for the field in the SQL table is varchar and the result set I get in VFP is composed of memo fields. How do I get them to return as a string, or preferably integer, value since the data items are numbers? Thanks for any help...

I don't know SQL7 syntax, but after getting records from SQL server into a cursor, you can run a SELECT - SQL command, converting fields with val() (a VFP function).

Regards, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform