Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradapter
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01020549
Message ID:
01020553
Views:
17
Hi, Wayne.

>I have a .net webservice that is returning an ado recordset - I want to work with this data in vfp in a cursor - what would be a simple way to move the data from adors to a cursor? I do not need to update/etc this data - just read it and write bits and pieces to a separate vfp application.
>
>I can work with the data as an ado recordset, but I just want to make it a bit easier to see. Also, I have read the data into a cursoradapter object and I can see the data and export it to an xml file - but I am not seeing how to just create a cursor with it.

If it's coming from a Web Service, then it should be an ADO.NET dataset. You can't receive an ADO recordset trough a WS, except one persisted as XML.

In any case, an XmlAdapter will do. Notice that if it is a dataset (most probably, I think), the XmlAdapter will allow you to get each one of the different tables.

Best luck,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform