Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way ??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00640323
Message ID:
00640612
Vues:
19
> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform