From: Abe Katz on 4 Mar 2010 16:37
How can I check thru code, if a control on the form is visible or it's
Thanks in advance
From: John W. Vinson on 4 Mar 2010 17:10
On Thu, 4 Mar 2010 16:37:21 -0500, "Abe Katz" <abekatz(a)mindspring.com> wrote:
>How can I check thru code, if a control on the form is visible or it's
>Thanks in advance
If Forms!yourformname!controlname.Visible = True Then
You can use Me!controlname if the code is on the same form as the control.
John W. Vinson [MVP]
From: Linq Adams via AccessMonster.com on 4 Mar 2010 17:17
Private Sub Command2_Click()
If ControlName.Visible = True Then
MsgBox "Not Visible"
You can, of course, replace the message boxes with other code, as appropriate.
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000/2003
Message posted via AccessMonster.com