Ahh, I don't get any error, but I don't get any data either when i user date range. I am trying to get date range for a me so that I can audit the end user. However, I can audit the end user "finished claims" on per day only. But I would like this in a date range so I can audit the end user say weeks, days or months. below is the sql view for you to look at. I have the following fields admitted. created, card recived, reviewed, claim finished.
Thanks for the help.
PARAMETERS StartDate DateTime, EndDate DateTime;
SELECT DISTINCT dbo_DIARYLOG.USERID, dbo_CLAIM.PHYSID, dbo_PROVIDERS.LASTNAME, dbo_CLAIM.CURRENTQ, Format([DIARYDATE],"mm/dd/yyyy") AS FinishedDate, dbo_DIARYLOG.ITEM, dbo_CLAIM.CSSNUM, dbo_CLAIM.INUSEBY, dbo_DIARYLOG.DIARYDATE
FROM (dbo_DIARYLOG INNER JOIN dbo_CLAIM ON dbo_DIARYLOG.CSSNUM = dbo_CLAIM.CSSNUM) INNER JOIN dbo_PROVIDERS ON dbo_CLAIM.PHYSID = dbo_PROVIDERS.PHYSID
WHERE (((dbo_DIARYLOG.USERID)=[forms]![reports Form].[cbo_user]) AND ((Format([DIARYDATE],"mm/dd/yyyy"))=[forms]![reports Form].[reportdate]) AND ((dbo_DIARYLOG.ITEM) Like '*post*' Or (dbo_DIARYLOG.ITEM) Like '*paperpro*') AND ((dbo_DIARYLOG.DIARYDATE) Between [StartDate] And [EndDate]))
ORDER BY dbo_CLAIM.PHYSID;