Combo Box "reset"

G

Guest

Combo box on form gives list of Customer names. Whe main form is opened, the
box is blank. Once name is selected, it finds that customers info and fills
several subforms. One of the sf's also lists customer name. When I use the
scroll buttons on main form to change customer however, the combo box name
does not change, so its confusing with 2 different names showing. How can I
get the combo box to revert back to blank after updating subforms?
 
G

Guest

PERFECT! Thanks.

Ofer said:
On the After update event of the SubForm you can write

Me.Parent.[Combo Name] = Null


ken3260 said:
Combo box on form gives list of Customer names. Whe main form is opened, the
box is blank. Once name is selected, it finds that customers info and fills
several subforms. One of the sf's also lists customer name. When I use the
scroll buttons on main form to change customer however, the combo box name
does not change, so its confusing with 2 different names showing. How can I
get the combo box to revert back to blank after updating subforms?
 
G

Guest

Glad I could help, good luck

ken3260 said:
PERFECT! Thanks.

Ofer said:
On the After update event of the SubForm you can write

Me.Parent.[Combo Name] = Null


ken3260 said:
Combo box on form gives list of Customer names. Whe main form is opened, the
box is blank. Once name is selected, it finds that customers info and fills
several subforms. One of the sf's also lists customer name. When I use the
scroll buttons on main form to change customer however, the combo box name
does not change, so its confusing with 2 different names showing. How can I
get the combo box to revert back to blank after updating subforms?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top