S S_DeLaire_2002 New member Local time Today, 13:09 Joined Feb 6, 2002 Messages 9 Mar 1, 2002 #1 When I go to my next record combo box value stays in the box. How do I make it so that when I go to the next record it resets?
When I go to my next record combo box value stays in the box. How do I make it so that when I go to the next record it resets?
P Pat Hartman Super Moderator Staff member Local time Today, 08:09 Joined Feb 19, 2002 Messages 47,196 Mar 1, 2002 #2 Since the combobox is unbound, you need to fill it when the current record changes. Access only automaticaly takes care of bound controls. Put the code into the form's Current event.
Since the combobox is unbound, you need to fill it when the current record changes. Access only automaticaly takes care of bound controls. Put the code into the form's Current event.
S S_DeLaire_2002 New member Local time Today, 13:09 Joined Feb 6, 2002 Messages 9 Mar 1, 2002 #3 How do I do that?
L Lisa S Registered User. Local time Today, 13:09 Joined Oct 16, 2000 Messages 10 Mar 1, 2002 #4 You need to add the following code to the Form's On Current Event. Private Sub Form_Current() yourcomboboxname = fieldname End Sub
You need to add the following code to the Form's On Current Event. Private Sub Form_Current() yourcomboboxname = fieldname End Sub