How to clear a form

  • Thread starter Thread starter Darrell Childress
  • Start date Start date
D

Darrell Childress

I know this should be simple, but I can't find the answer. I have a form
with 2 unbound combo boxes. The user will choose an option from each of
the boxes and then a subform will display data based on the values in
the combo boxes. I now want to put a button that will clear the values
in the combo boxes so that they can start over (they initially come up
blank). Presently, I am having to select the value and hit the delete
button.
 
Me!NameOfFirstCombo = Null
Me!NameOfSecondCombo = Null

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Back
Top