D
DJW
I have a main form named "Cases" and subform named "Time_Spent" . This
subform has a rectangle box/object I placed on it named "Box1" using the
toolbox. I would like to click on a button I placed on the main form and
make this object invisible but I do not know the proper reference to the
object using visual basic code. I tried using the line below but it does
not work
Me.subfrm_Time_Spent.[Box1].Visible = False
Secondly, how do I do the reversal... such as refer to "Box2" on the main
form by clicking on a button on the subform?
subform has a rectangle box/object I placed on it named "Box1" using the
toolbox. I would like to click on a button I placed on the main form and
make this object invisible but I do not know the proper reference to the
object using visual basic code. I tried using the line below but it does
not work
Me.subfrm_Time_Spent.[Box1].Visible = False
Secondly, how do I do the reversal... such as refer to "Box2" on the main
form by clicking on a button on the subform?