Main Form/Sub Form

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

How do I create a toggle link using a toggle button
between a main form and a sub form? Also is there a
different procedure if more than one is created?
 
I don't have a direct answer for you but this is how you
would write the code for a button that OnClick would
toggle the subform on and off. I think what you would
want to do is to replace the Visible with SetFocus. I
don't really understand the question completly.


Me![subToggleSubForm].Visible = _
Not Me![subToggleSubForm].Visible

NCole
 
Back
Top