Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a cursor from one datasession to another?
Message
 
À
22/02/2001 14:49:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00478575
Message ID:
00478593
Vues:
18
>Is it possible to pass a cursor from a datasession to another?
>
>For example, I have a Form whith a private datasession that creates a cursor and I would like this cursor to be available to all my other forms. Is this possible?
>
>Thanks a lot in advance, Stephane.

Hi Stephane,

No, it is not possible, but you can:

1. Create a table instead of a cursor and it will be accessible for other forms.
2. Switch datasession to access the cursor (which is not usually recommended).
3. Use Rick Strahl's wwXML utility to convert cursor to XML and back (which seems to be the most effective way).
4. Use ADO.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform