Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Dateadd to find a due date

Status
Not open for further replies.

misha8765

Instructor
May 8, 2006
9
0
0
US
Thank you in advance for your time.

I have a field called "Hiredate"
Three months after the employees hire date they are off probation.

Based on the hiredate field, I want to run a report showing me who completes their probation within the next week.

Any ideas?

Thank you!

 
Code:
where dateadd("m", 3, HireDate) BETWEEN Date() AND dateadd("d", 7, Date())

Alex

A wise man once said
"The only thing normal about database guys is their tables".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top