Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2006

Tip: Looking for answers? Try searching our database.

Making a list box visible based on another control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BigNasty - 18 Apr 2006 23:45 GMT
I have a text field on my access DB form that i would like to appear if
a user selects a particular item from a combo box. I have completed
this part of the code. However, when user selects another record on the
form where the condition isnt true the combo box still appears.

How can I code this so that the text box doenst appear when the
coniditon is not met?
fredg - 19 Apr 2006 01:09 GMT
> I have a text field on my access DB form that i would like to appear if
> a user selects a particular item from a combo box. I have completed
[quoted text clipped - 3 lines]
> How can I code this so that the text box doenst appear when the
> coniditon is not met?

I would assume you coded the AfterUpdate event of the Combo Box
something like:
Me![SomeControl].Visible = Me![ComboName] = 'Jones'"

Place the same code in the Form's Current event.
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

BigNasty - 19 Apr 2006 01:14 GMT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.