How to automatically clear cells upon changing/making selection?

I

Ingeniero1

My new Specification Form uses combo boxes (control form) to select
options for several product models.

The _first_step_ is to select the model with a combo box. Once the
model is selected, the remaining combo boxes provide lists of options
that are appropriate to the model selected. So far so good.

Normally, the user will start with a fresh, blank form to specify a
product. Occassionally, however, the user may specify a product, print
the results, and go on to the next product without reopening the form,
so I provided a button (macro) that clears the form to start a new
product spec.

Unfortunatley, if the user forgets to clear the form and simply changes
the model and proceeds with the new specs, it would be possible to keep
some of the options from the previous model even if they were
incorrect.

IS THERE A WAY TO DETECT WHEN A MODEL SELECTION IS MADE, _FIRST_STEP_
AND RUN THE MACRO THAT CLEARS THE CELLS?

Thanks!

Alex
 
T

Tom Ogilvy

It would seem that you are already doing that to populate the choices for the
other comboboxes?

If not, then use the click event for the model.
 
I

Ingeniero1

Tom, you said-
-"It would seem that you are already doing that to populate the choices
for the other comboboxes?"-

You are correct IF the user clears all the combo boxes between models
before filling them.
But if they are not cleared first, it is possible to miss one and leave
it with the previous information.
What I am trying to learn how to do is to make the clearing of the
boxes a must or make it happen automatically.

-"If not, then use the click event for the model."-
Could you expand on this?

Thanks!

Alex
 
T

Tom Ogilvy

In the last statement It should have been use the click event for the
combobox where the user selects a new model or perhaps a new product.
 

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