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 / Macros / October 2005

Tip: Looking for answers? Try searching our database.

Validation Rule

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CP - 11 Oct 2005 17:15 GMT
I have the following validation rule attached to a field in a table.
[HRA Directory]<>"CLI"
Is there a way to add more criteria to it, such as in addition to CLI ( or
"ABC")? I was not able to get it to work.
Steve Schapel - 11 Oct 2005 18:34 GMT
CP,

Normally a field-level Validation Rule would not include the name of the
field.  You would just put like this...
 <>"CLI"

In the other example you gave, try it like this...
 <>"CLI" And <>"ABC"

This may also work...
 Not In("CLI","ABC")

Signature

Steve Schapel, Microsoft Access MVP

> I have the following validation rule attached to a field in a table.
> [HRA Directory]<>"CLI"
> Is there a way to add more criteria to it, such as in addition to CLI ( or
> "ABC")? I was not able to get it to work.
 
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.