Validation Rule

  • Thread starter Thread starter Shark
  • Start date Start date
S

Shark

I'm trying to enter an expression in "validation rule" so
that any date entries in my report that are on or before
January 1, 2000 will receive a message that says "the date
is invalid". I'm entering "the date is invalid" in the
validation text line. My problem is that the expression
I'm entering under "validation rule" is incorrect. I've
tried <=#01/01/2000# and several variations on that, but
none are working. Thanks for the help!
 
try to set the field format to mm/dd/yyyy
then place your validation rule
i.e. <=01/01/2000

i just tried it.... it works!
 
I'm trying to enter an expression in "validation rule" so
that any date entries in my report that are on or before
January 1, 2000 will receive a message that says "the date
is invalid". I'm entering "the date is invalid" in the
validation text line. My problem is that the expression
I'm entering under "validation rule" is incorrect. I've
tried <=#01/01/2000# and several variations on that, but
none are working. Thanks for the help!

If you want a message to appear on earlier dates, change the <= to >=.
A Validation rule fires when the data entered VIOLATES the rule - as
you have posted it, you would only be allowed to enter dates before
1/1/00, and would get the error message for any later date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Validate a Date 1
date/time validation rule 1
get out of control 5
validation rule 1
question on dlookup 3
Validation Rule Question 9
Validation Rule for an * 3
Excel Vba to change displayed year automatically. 14

Back
Top