How to Hide/show a subform with cmdbtn?

Vaimpir

JAFO
Local time
Today, 12:00
Joined
Mar 5, 2004
Messages
78
Is there a way to hide/show a subform with a cmdbtn in the same parent form?

Thanks,

Steven
 
use the visible property
Code:
subformname.visible=false
 
better to use a toggle button and check if it's visible property is true or false before changing it, just a GUI thing :)
 

Users who are viewing this thread

Back
Top Bottom