Event (macro to close form) in subform won't run

  • Thread starter Kellie in Arizona
  • Start date
K

Kellie in Arizona

I inserted a toggle button with a simple macro to close the subform when the
toggle button is clicked but it's not working. What am I doing wrong?
 
S

Steve Schapel

Kellie,

Toggle buttons are not usually used in this way. Probably a Command
Button is better.

Subforms are not open, they are simply displayed via the avenue of the
subform control on the main form. Since they are not open, therefore
they can't be closed. Possible hiding it (setting it's Visible property
to No) would be applicable?
 
K

Kellie in Arizona

Great, that will work for me. Thanks very much for the assistance Steve!
 

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