Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a Cursor from another DataSession
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00202395
Message ID:
00202409
Views:
18
Paul,
Switching Datasessions on the fly is a great way to GPF VisFox!
(Thats why its not recommended),

The best way I have found is to pass the DBF name to the form, and
reopen it on the other side:

DO FORM MyForm WITH DBF('MYCURSOR')

MyForm.Init:
Parameters cCursorName
USE (cCursorName) AGAIN SHARED IN 0 ALIAS MYCURSOR
* Read/Write to cursor; changes will be available to calling form
Previous
Reply
Map
View

Click here to load this message in the networking platform