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  

Help



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2010, 03:59 PM posted to microsoft.public.access.forms
lmossolle
external usenet poster
 
Posts: 63
Default Help

I want to create a form that has a fiels called FAR_Name this will be a yes
or no, when yes is selected a yrs_exp field will be available. Could someone
walk me through this?
  #2  
Old March 15th, 2010, 04:58 PM posted to microsoft.public.access.forms
ghetto_banjo
external usenet poster
 
Posts: 325
Default Help

FAR_Name should be a check box.


In the After Update event of FAR_Name, use this code:

if me.FAR_Name then
yrs_exp.enabled = true
else
yrs_exp.enabled = false
end if


depending on how you want it to work, you might want to initially set
yrs_exp to disabled on the Open event of the form as well.
 




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 05:20 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.