want to set up query to get data from access

G

Guest

I am trying to set up a query (access 2003) using two columns. One column
'date of referral' and other column 'date of assessment'. Need to pull out
people who have gone over 15 day wait from referral to assessment. Is this
possible as referral dates/assessment dates are different for each person.
Can anyone help!!!!

Many thanks
 
G

Guest

Using the function DateDiff you can get the different between the two dates
in days, and then add a criteria to it >15

Something like

Select * From TableName Where
DateDiff("d",[date of referral],[date of assessment]) >15
 

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