Solved

Validation Rule

Posted on 2014-09-03
4
197 Views
Last Modified: 2014-09-03
Experts, in a validation rule, can I refer to field within the table?   I am referring to [Type] within the field  [ExpectedDisbRecdDate].  Not sure if a rule like this is better placed in a form.

for example:

if [type] = "JBIC",>Date()+30,<Date()+25
the error I get is "enclose text data in quotes"

thanks

ValidationRule
0
Comment
Question by:pdvsa
  • 3
4 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40301454
not really sure what you are trying to accomplish here, but,

try something like this

IIf([type]="JBIC",>Date()+30,<Date()+25)
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40301469
if you are using A2010 or greater, data macro may work for you..
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 40301487
just tried what you have in a table and i am not surprise that it will not accept the entry in the validation rule property..

perhaps use the validation or setting the values of the Datefield using a form.
0
 

Author Closing Comment

by:pdvsa
ID: 40301498
thank you.  I will try the validation rule at the form level.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question