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 / New Users / April 2005

Tip: Looking for answers? Try searching our database.

allow\disallow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
herbert - 18 Apr 2005 11:14 GMT
Hi Guy's i am using access 2003,  on my form ,i have
textboxs and comboboxes, if there is an entry in one
special text box, i want to disallow entry in the combobox
, and vices\versa ,
i am just a novice so could some one list the steps  to do
this  in a macros or VB
thanks
herbert
Ed Robichaud - 18 Apr 2005 13:33 GMT
You can use the Visible or Enabled property of your combobox to restrict its
use, and control it through the AfterUpdate event of your text control.  Use
something like:

   If IsNull(Me![myTextbox]), Then
       Me![myCombo].Visible = True
   Else
       ' if anything entered into the text box then make the combo
invisible to prevent entry into it
       Me![myCombo].Visible = False
  End If

-Ed

> Hi Guy's i am using access 2003,  on my form ,i have
> textboxs and comboboxes, if there is an entry in one
[quoted text clipped - 4 lines]
> thanks
> herbert
 
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.