Hi,
I have the following query that will give me a list of all 'problem calls' that are outstaning (i.e. status not = 'closed')
SELECT [Problem Tickets].[Problem Type], [Problem Tickets].Allocated, [Problem Tickets].[Problem Description], [Problem Tickets].Status, [Problem Tickets].Contact, [Problem Tickets].EV200_EVT_DESC, [Problem Tickets].Date, [Problem Tickets].Stand, [Problem Tickets].Customer, [Problem Tickets].[Caller Reference] AS Expr1
FROM [Problem Tickets]
WHERE ((([Problem Tickets].Status) Not Like 'Closed'))
ORDER BY [Problem Tickets].[Caller Reference];
I want to be able to get this same thing printed out, but with an extra criteria showing all outstangin calls that are over 3 hours old.
I have a 'Date' field in my 'Problem Tickets' table, so I need to check the time difference between the current system time, and the Date/Time in the Date field.
any ideas?
I have the following query that will give me a list of all 'problem calls' that are outstaning (i.e. status not = 'closed')
SELECT [Problem Tickets].[Problem Type], [Problem Tickets].Allocated, [Problem Tickets].[Problem Description], [Problem Tickets].Status, [Problem Tickets].Contact, [Problem Tickets].EV200_EVT_DESC, [Problem Tickets].Date, [Problem Tickets].Stand, [Problem Tickets].Customer, [Problem Tickets].[Caller Reference] AS Expr1
FROM [Problem Tickets]
WHERE ((([Problem Tickets].Status) Not Like 'Closed'))
ORDER BY [Problem Tickets].[Caller Reference];
I want to be able to get this same thing printed out, but with an extra criteria showing all outstangin calls that are over 3 hours old.
I have a 'Date' field in my 'Problem Tickets' table, so I need to check the time difference between the current system time, and the Date/Time in the Date field.
any ideas?