Reset combo box to blank

N

NNester

I have a combo box on a form so users can set criteria for a report. How do
I reset the combo box to blank after the report runs? Now, if the user
returns to the form to select a different criteria, the original value is
still there. Any suggestions are appreciated.
 
D

Dirk Goldgar

NNester said:
I have a combo box on a form so users can set criteria for a report.
How do I reset the combo box to blank after the report runs? Now, if
the user returns to the form to select a different criteria, the
original value is still there. Any suggestions are appreciated.

Normally, you'd use a line of code that sets the combo box's value to
Null; e.g.,

Me!cboMyCombo = Null

Exactly when and where you would execute this line of code would depend
on how you have things set up.
 

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

Similar Threads


Top