Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving between two inter dependent forms 2

Status
Not open for further replies.

LD1010

Technical User
Dec 6, 2001
78
US
I have a form, frmNewClaims used to record new insurance repair projects to tblClaimLog. Among the many fields is ClaimAdjusterID. The user picks an adjuster from a combo box cboClaimAdjuster. (All adjuster contact information is stored in a table called tblAdjusters.)
Sometimes the adjuster is new and is not yet in the tblAdjusters and thus doesn’t show up in the cboClaimAdjuster. This means the user must first enter the new contact information by opening the frmNewAdjusters and then coming back to frmNewClaims in order to populate the ClaimAdjusterID field with the correct ID.

Is it possible (when the adjuster contact is new)to open the frmNewAdjusters, add the new contact, close that form and then come back to the frmNewClaims, requery the cboClaimAdjuster and set the focus back to that combo box?

Thanks in advance for your help.
 
Have a look at the NotInList event of the ComboBox object.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks PHV and LarrySteele that's what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top