hi! i have a chunk of code to set the visibility of command buttons on each of my forms. There are only 2 modes, and each line looks like
me.cmdClose.visible = true
all the cmdbuttons are named the same on each form, and i'd like to create a public sub to call instead of copy/pasting the chunk-o-code.
Public Sub Edit_Mode
(how do i refer to the me part of the
me.cmdClose.visible = false)
End Sub
Thank you!
Jennifer
me.cmdClose.visible = true
all the cmdbuttons are named the same on each form, and i'd like to create a public sub to call instead of copy/pasting the chunk-o-code.
Public Sub Edit_Mode
(how do i refer to the me part of the
me.cmdClose.visible = false)
End Sub
Thank you!
Jennifer