Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A way to call a third form to capture info.
Message
From
06/11/2001 07:34:27
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
05/11/2001 16:57:47
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00577638
Message ID:
00577879
Views:
31
Allan,

I don;t think you need to set another business object to primary when the Publisher add form is created. Each form has its own data environment. All you would need is to have your Add form get the Publisher data via an updatable view from your Publisher table, save the data, close the Add form, and requery the lookup view and the dropdown list. You can set the nRequeryType to 2 (Requery if first time activated since last form activate) to make the bizobj requery after the Add form is closed.

HTH

Rex

>I have a form based on the cListObjEdit class on one page of a pageframe. The Add button calls a modal form based on the cListObjEditForm. On this form I have a dropdown list that the operator can select a publisher. However if the publisher does not exist in the view (root table), I want to add a button that will call another modal form that will allow the new Publishers information to be captured. More importantly I need to set a different bizobject in the existing data environment to be the primary bizobj, add the new publisher plus address etc, save it and revert to the original form. The view feeding the dropdown will need to be refreshed.
>The new publisher can then be selected from the dropdown.
>Can anyone give me some tips on how to do this?
>TIA
>Allan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform