Comparing two fields in a table

W

Wolff

How do you compare two fields in a table for instance you want to
compare two date field such that Date1<Date2 what do you type in the
validation rule box. I have tried <Date2 which doesn't work and
<[Date2] gives me an error.
 
O

OldPro

How do you compare two fields in a table for instance you want to
compare two date field such that Date1<Date2 what do you type in the
validation rule box. I have tried <Date2 which doesn't work and
<[Date2] gives me an error.

Validation Rules cannot contain references to forms, tables, or other
fields in the table. Put the validation code in the BeforeUpdate
event instead.
 

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

Top