Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Cursor to Form
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00913299
Message ID:
00913308
Views:
15
David,

>Can I pass a cursor to another form? I usually work with 'Private Data Session'.

No, you can't pass a cursor across data session boundaries.

What should probably work from your one sentence problem statement is to set this second form to be Default Data Session. This works if the form is launched from some method in the first form. This child form will open up inside it's parent forn's private DS.

If this is not the situation you are in you can convert the cursor to XML and send that to the other form. You can also use an actual table that can be reopened by the other form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform