Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>I use a technique I call conditionally private data sessions. If a form (lineitems) is summoned from a parent form (invoice) the child form adopts the datasession of the parent form, conditionally opens and leaves open the line items cursor and saving is handled by the parent's datasession.
>
>Lookup forms are not children in that sense. They save data to their tables.
This is not a child form -- it is the exact same form being called multiple times. Each time the user (in this case a VFP developer) would open a different file. The form is a menu editor -- you may want to have multiple menus open and copy-paste between them which is a reasonable request. The cursors are the same alias names; hence, a private datasession is required. So how to share between forms with private datasessions?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only