Z Zak14 Registered User. Local time Today, 02:44 Joined Jun 27, 2014 Messages 166 Jul 13, 2014 #1 How would I say this: If ctl.Visible = False Then Set ctl to "ilovepizza" So later, I can call it saying: ilovepizza.Visible = False
How would I say this: If ctl.Visible = False Then Set ctl to "ilovepizza" So later, I can call it saying: ilovepizza.Visible = False
MarkK bit cruncher Local time Yesterday, 18:44 Joined Mar 17, 2004 Messages 8,472 Jul 13, 2014 #2 Code: dim foo as Access.Control if not ctl.visible then set foo = ctl end if [COLOR="Green"]'then later you can do . . .[/COLOR] if not foo is nothing then foo.visible = false end if hope that helps,
Code: dim foo as Access.Control if not ctl.visible then set foo = ctl end if [COLOR="Green"]'then later you can do . . .[/COLOR] if not foo is nothing then foo.visible = false end if hope that helps,