clear text from combo box after update

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using 2 combo boxes at the top of a form to help people search on
Lastname and client number. They work well, however the text stays the same
as we move to different records. How can I clear the text from the combo box
after the update is made.
Thankyou
John
 
To clear from the main form
me.comboName1 = Null
me.comboName2 = Null

To clear from a subform, whe you move to another record, then on the on
current write
Foms![MainFormName]![ComboName] = Null

will clear the combo
 
Worked great. Thankyou

Ofer said:
To clear from the main form
me.comboName1 = Null
me.comboName2 = Null

To clear from a subform, whe you move to another record, then on the on
current write
Foms![MainFormName]![ComboName] = Null

will clear the combo

john said:
I am using 2 combo boxes at the top of a form to help people search on
Lastname and client number. They work well, however the text stays the same
as we move to different records. How can I clear the text from the combo box
after the update is made.
Thankyou
John
 
Back
Top