Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOM not bringing all fields from SQL table recordset.
Message
From
01/08/2000 16:29:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00399435
Message ID:
00399571
Views:
18
>>>Hello all,
>>>
>>>I've been using VFPCOM for the past week and initially I thought it was going to do a clean job. I'm trying to use the function RSToCursor() to create a cursor from a SQL 7 table, and for some reason is bringing only values in two or three columns rather than in all of the fields. It is bringing all the records I'm expecting, but not their full values.
>>>
>>
>>RSTocursor is flaky in more than one respect. Any reason you're using ADO instead of SPT for this?
>
>Hi Erik,
>
>I'm building a COM object which is getting data from a SQL backend and one of the requirements is not to have a VFP database holding any views or connections to it; is there any other way to connect to SQL and do processing rather than ADO?.
>

You can use SQL PassThrough and have your data returned in a VFP cursor directly...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform