Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Cursors from one Class to Another
Message
 
 
À
01/07/2002 13:56:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00674010
Message ID:
00674074
Vues:
21
You cannot pass cursor between different datasessions.

>
>Hope you don't mind answering another question from me. I was experimenting yesterday and came across what I think is a Private Data Session issue.
>
>I have two classes subclassed from the Session Class - clsData and clsHTML. I've instantiated the clsHTML inside the cls Data class. After creating a cursor in the clsData class, I'd like to pass it to a method in the clsHTML class (oHTML.). This method would wrap an HTML table around the cursor and pass this structure back as a string.
>
>Now, when I create the cursor and try to pass it to the clsHTML class, it disappears.
>
>How can I get the clsHTML class to see a cursor created by the clsData class? This can be done, yes?
>
>TIA,
>
>Dan
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform