W
WTC
When using a form (A) in a combo box (A1) and does NOT have the Value I
want,
I use the Not In List Event. this works fine. So a form (B) opens to enter a
new value. I enter the new value(B1) on Form (B). When I close the form (B),
the value is
listed in the Combo box (A1) but it is not in the Drop Down list.
I am wondering why?
Example of my code in Form(B)
If IsLoaded("A") Then
Forms!A!A1.Undo
Forms!A!A2.SetFocus
Forms!A!A1.Requery
Forms!A!A1 = B1
DoCmd.Close
Else
DoCmd.GoToRecord , , acNewRec
End If
want,
I use the Not In List Event. this works fine. So a form (B) opens to enter a
new value. I enter the new value(B1) on Form (B). When I close the form (B),
the value is
listed in the Combo box (A1) but it is not in the Drop Down list.
I am wondering why?
Example of my code in Form(B)
If IsLoaded("A") Then
Forms!A!A1.Undo
Forms!A!A2.SetFocus
Forms!A!A1.Requery
Forms!A!A1 = B1
DoCmd.Close
Else
DoCmd.GoToRecord , , acNewRec
End If