clear text from combo box after update

J

john

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
 
O

Ofer

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
 
J

john

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
 
Top