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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show dates the past 2 year to now 1

Status
Not open for further replies.

din2005

Programmer
Mar 22, 2005
162
GB
Hi all am sure this might be a simple one... but am abit slow today how would i show the dates of all patients who have been treated in the past two years to now!

do u know what the criteria would be?

many thanks
 
WHERE DateTreatedField > DateSerial(Year(Date())-2, Month(Date()),Day(Date()))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top