Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing cursors between datasessions
Message
De
29/12/2005 09:09:36
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
28/12/2005 12:48:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01081341
Message ID:
01081623
Vues:
8
Hi James

>I understand that I can't pass a cursor between datasessions. I have read suggestions to use CursortoXML and back again, but I find that XMLtoCursor can be very slow for an interactive session (25 seconds is way too long for 2900 records). I'm looking for alternatives.
>
>Background: I have a class, created at the start of a user's session, which downloads a pile of data and creates summary information from it. All of my forms, with their own private datasessions, talk to this class to get the data they need. For all uses except one, using CursortoXML and back work fine, since the number of records involved is quite small ...
>
>Thanks in advance,
You might consider putting that data into cursors and having the forms use the default data session. You might also consider having that object instantiated within the data session of the first form and have other forms called by buttons on the first form. Such called forms can adopt the data session of the first form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform