Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sharing table information between Forms
Message
 
To
10/07/1998 12:35:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116196
Message ID:
00116393
Views:
13
>I have, let's say 2 forms: the first to store countries records, and the second cities. Every city relates to a country. Id like that when the user is creating a new city wich relates to a country not created, just call the countries form, add the new record and have it available when go back to the cities form.
>
>Any suggestion?. Keep in mind that this is just a generic example; how about a form with so many relations in wich the user could call different forms to create records that will relate?.
>
>Thanx in advance!

Cristobal,
If the second form (the country form in this example) is modal and also is set to default datasession, the default will actually be the same datasession as the calling (cities) form. This makes it very easy to update data and have it seen.

Be careful that your first form isn't using the data in a combo box. If so, you'll need to requery the combo box as well.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform