Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Cursors from one Class to Another
Message
From
01/07/2002 13:56:00
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Passing Cursors from one Class to Another
Miscellaneous
Thread ID:
00674010
Message ID:
00674010
Views:
68
Sergey,

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
Next
Reply
Map
View

Click here to load this message in the networking platform