Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding Subforms 1

Status
Not open for further replies.

sera

Technical User
Jun 29, 2000
360
US
I have a command button that shows/hides a subform OnClick.&nbsp;&nbsp;The code that I am using to do this is <br>me![subform].visible=not me![subform].visible<br>Does anyone know how I can make the subform hide until the user clicks the button?&nbsp;&nbsp;Currently, the user has to click the button to hide the subform.<br>Thanks <br>Sera
 
That worked well, thank you.&nbsp;&nbsp;I am curious about one thing, however.&nbsp;&nbsp;On the main form I have five subforms.&nbsp;&nbsp;One of the subforms is hiding itself automatically, I didn't do anything to hide it(programatically that is).&nbsp;&nbsp;When I use your procedure to hide the other forms it reverses the process of the wayward form.&nbsp;&nbsp;I implemented the hide/show<br>command the same on every command button.&nbsp;&nbsp;Any ideas?<br>thanks,<br>Sera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top