Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returnin data from vfp table to asp with dll.
Message
 
À
14/07/2000 08:40:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00391765
Message ID:
00392790
Vues:
8
>What is the fastest way? From what I have seen, converting a cursor to ADO RS or XML is pretty slow.

Always looking for the quick fix.

As always it depends on a lot of things. Since you can't return a cursor directly it doens't much matter whether it's slow to return the data in another format, does it? You simply don't have a choice.

Given that you can start looking at your options:

* Pass data in a file and pass a pointer to the other application.

* Use ADO to run the query and return the data as ADO directly

* Run the query as normal and convert it to XML

* Run the query as normal and convert it into an encoded cursor

* Run the query as normal and convert into an ADO RS.

All of these are viable, but it depends on your application which will work best. A smart application that only passes small amounts of data over a dcom or internet connection will not notice a huge performance difference between approaches. But an app that sends everything to a client and back will definittely notice it.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform