Reintialize to the default value of a checkbox

  • Thread starter Joseph Greenberg
  • Start date
J

Joseph Greenberg

I have a multi-tab subform on my main form. On two of the tabs, I have a
checkbox (not related to each other), and the checkboxes are unbound. The
default value for each of them is off. They are not bound to a database,
they are simply used in a calculation launched by a button on each tab. If I
click the checkbox to set it to true, if I go to a new record, it retains
the reset value instead of returning to
the "off" state. How can I can get the checkbox to reinitialize either when
I switch tabs, or when I switch records entirely?

Thanks.

J
 
J

John W. Vinson

How can I can get the checkbox to reinitialize either when
I switch tabs, or when I switch records entirely?

Use the Tab Control's Change event or the form's Current event respectively to
explicitly set the checkboxes to False.
 

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