validation dates
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Validation of dates

Validation of dates

resolvedResolved · Low Priority · Version 2007

replyReply Thu 4 Dec 2008, 16:50Delegate Julie said...

Julie has attended:
Access Introduction course
Access Intermediate course

Validation of dates

how do you set the data up so that you cannot enter a delivery date that is before the order date?

For upcoming training course dates see: Pricing & availability

replyReply Sat 6 Dec 2008, 11:52Trainer Simon said...

RE: Validation of dates

Hi Julie,

Thank you for your question.

If you go into design view of the table and click into the Validation rule property field.

Type the following: >date() - which means greater than the current date.

Now type the Validation text to explain the rule.

Alternatively you could set up a query and add a calculated field that works out the delivery date.

E.g. DeliveryDate:[OrderDate]+7 - If the delivery date was always 7 days later.

I hope this answers your question.

Regards

Simon

 

Please browse our web site to find out more about
access courses in london and other Microsoft training courses.

Access tip:

Create calculated fields that work out your age

You can uset eh year function to work out the year from NOW function and then subtract it with your date of birth type field

Age=Year(Now( ))-Year([DoB])

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard