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 / March 2005

Tip: Looking for answers? Try searching our database.

Access Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Clueless at Cov! - 31 Mar 2005 13:47 GMT
In a form how can i get a particular field to equal '1' only when a check box
is true??  If the check box is not true - can I enter a specific value or
will it have to equal a set value?
Jeff Boyce - 31 Mar 2005 14:46 GMT
In the AfterUpdate event of the checkbox, you'd use something like:

   If Me!chkMyCheckbox = True Then
       Me!txtMyParticularTextControl = 1
   Else
       Me!txtMyParticularTextControl = 2
   End If

If you want to input a value instead of using the "canned" value "2", check
Access HELP for the Input() function.

Signature

Good luck

Jeff Boyce
<Access MVP>

> In a form how can i get a particular field to equal '1' only when a check box
> is true??  If the check box is not true - can I enter a specific value or
> will it have to equal a set value?
 
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.