View Full Version : Reset button


SofiaFreitas
06-02-2009, 07:03 AM
Hi everyone,

I have a form with several combo boxes to select only the values I want and in the end a button to open the main form with my selection.
What I pretend is to create a command button the allows me to star my research all over again, with no value selected. I think will be like a reset button, am I right?

Is anyone able to help me?

rainman89
06-02-2009, 07:10 AM
you need to put

me.comboboxname=""

for all of the comboboxes on your form. Change the comboboxname to each combobox name

SofiaFreitas
06-02-2009, 07:51 AM
Thanks a lot for replying.

But what I want is to put in the end of the form a command button that does the reset of all comboboxes at the same time, as one does when wants to start a new search.

rainman89
06-02-2009, 07:55 AM
right.

create a clear button and put that in the onclick event of the button

Make sure to put it in for each comboboxes

SofiaFreitas
06-03-2009, 07:14 AM
It worked out!!
Thanks a lot