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  

ACCESS - can i display a field if a condition is met in another fi



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2010, 02:06 PM posted to microsoft.public.access.forms
SuzyQ2k
external usenet poster
 
Posts: 1
Default ACCESS - can i display a field if a condition is met in another fi

using 2003 ACCESS Professional - need to have a form with a check box. If it
is checked another field will display or activate.
  #2  
Old March 29th, 2010, 02:59 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default ACCESS - can i display a field if a condition is met in another fi

SuzyQ2k -

Yes, you can do this. You should put this code in the On Click event for
your checkbox (use your control names):

Me.fieldName.visible = Me.CheckboxName.Value

Depending on the use of the form, you may want to set the control with the
field to be invisible by default, and only display it if the checkbox is
checked. If this is a form used to view existing records as well as adding
new records, then you will want to add the above code to the On Current event
of the form as well, so it adjusts while scrolling between records.

--
Daryl S


"SuzyQ2k" wrote:

using 2003 ACCESS Professional - need to have a form with a check box. If it
is checked another field will display or activate.

 




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 03:54 AM.


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