A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Acc2002 Check status of a control



 
 
Thread Tools Display Modes
  #1  
Old May 23rd, 2008, 09:18 PM posted to microsoft.public.access.forms
Abe Katz
external usenet poster
 
Posts: 43
Default Acc2002 Check status of a control

Hello All,
How can I check thru code, the status on a control, if the control is
visible or not? (i change it many times thru code)
Thanks


  #2  
Old May 23rd, 2008, 10:00 PM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 2,529
Default Acc2002 Check status of a control

"Abe Katz" wrote in message
...
Hello All,
How can I check thru code, the status on a control, if the control is
visible or not? (i change it many times thru code)
Thanks



That should be as simple as

If Me.MyControl.Visible = True Then
' The control is visible
Else
' It isn't.
End If

Did you try that?

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.