KeyserSoze
Programmer
I currently have a query that gives me a list of records when I run it:
However, I want to calculate the number of days from the field VR_TRACKING.TRANSFER_TS to the current date when the query is run and include that number in the displayed records. Is this possible in a query or will I have to go the REPORT/QUERY route in order to write some code?
Thanks!
Code:
SELECT VR_TRACKING.LOC_CODE, Folders.CurrentSSN, Folders.StudentName, Folders.EntryTerm, Folders.EntryYear, Folders.CuriclmCode, Folders.StudentType, Folders.Tracking_ID, VR_TRACKING.TRANSFER_TS
FROM VR_TRACKING INNER JOIN Folders ON VR_TRACKING.TRACKING_ID = Folders.Tracking_ID
WHERE ((([VR_TRACKING]![LOC_CODE])<>"FILE-ROOM" And ([VR_TRACKING]![LOC_CODE])<>"FILEROOM") AND (([Folders]![EntryYear])>="2007"))
ORDER BY VR_TRACKING.LOC_CODE, Folders.StudentName;
However, I want to calculate the number of days from the field VR_TRACKING.TRANSFER_TS to the current date when the query is run and include that number in the displayed records. Is this possible in a query or will I have to go the REPORT/QUERY route in order to write some code?
Thanks!