> 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