Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way ??
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00640323
Message ID:
00640612
Views:
18
> I've tried to convert my cursor to XML,
> then convert it back to a cursor in my app,
> but it's too slow... any idea ??
If that is too slow, you can probably return it as delimited string (comma delimited or any other delimiter that suits your needs) and convert that to a cursor yourself. Yet, I am not sure how fast that will be compared to CursorToXML and XMLToCursor. It will also be less flexible and more work for you but you can probably gain a small performance benefit depending on how you implement it.

Have you tried with Rick Strahl's version of CursorToXML and XMLToCursor instead of using VFP's built-in versions?

Another approach that you could follow is to return the cursor as an ADO recordset but I doubt that this will be any faster than XML.
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform