S
SoggyCashew
hello, I have a query that I want to count how many days its been since
"Excused Absence" was entered. each time its entered I use the InputDate for
the date it was entered. Here is the SQL im using without what im asking...
Thanks!
SELECT Year([inputdate]) AS [Year], tblInput.InputDate, tblInput.InputText,
tblInput.UserID, Month([InputDate]) AS SortKey, tblInput.AttendanceReason
FROM tblInput
WHERE (((Year([inputdate]))=[Forms]![frmCalendar].[CalYear]) AND
((tblInput.InputText)="Excused Absence") AND
((tblInput.UserID)=[forms]![frmCalendar]![cboUser]))
ORDER BY Month([InputDate]) DESC;
"Excused Absence" was entered. each time its entered I use the InputDate for
the date it was entered. Here is the SQL im using without what im asking...
Thanks!
SELECT Year([inputdate]) AS [Year], tblInput.InputDate, tblInput.InputText,
tblInput.UserID, Month([InputDate]) AS SortKey, tblInput.AttendanceReason
FROM tblInput
WHERE (((Year([inputdate]))=[Forms]![frmCalendar].[CalYear]) AND
((tblInput.InputText)="Excused Absence") AND
((tblInput.UserID)=[forms]![frmCalendar]![cboUser]))
ORDER BY Month([InputDate]) DESC;