G
Guest
I've created a form with a subform in Microsoft Access. I want to hide a
command button which runs a macro procedure from the subform and stop
appearing in the main form.
Here's the procedure about the command button in the subform:
Private Sub Cerrar_ISA_Click()
Dim stDocName As String
stDocName = "cerrar ISA"
DoCmd.RunMacro stDocName
Exit_Cerrar_ISA_Click:
Exit Sub
End Sub
This command button runs a macro which close the subform, opens the previous
menu and restore it to it's normal size. This subform acts like a form in the
other part of my database and I make the buttons visible for use.
How do I create the procedure on making this command button not visible in
the main form which is connected the subform? How can I do this without
affecting the subform when it's used as a form? Any help would be appreciated.
command button which runs a macro procedure from the subform and stop
appearing in the main form.
Here's the procedure about the command button in the subform:
Private Sub Cerrar_ISA_Click()
Dim stDocName As String
stDocName = "cerrar ISA"
DoCmd.RunMacro stDocName
Exit_Cerrar_ISA_Click:
Exit Sub
End Sub
This command button runs a macro which close the subform, opens the previous
menu and restore it to it's normal size. This subform acts like a form in the
other part of my database and I make the buttons visible for use.
How do I create the procedure on making this command button not visible in
the main form which is connected the subform? How can I do this without
affecting the subform when it's used as a form? Any help would be appreciated.