Aug 18, 2008 #1 Butlertl IS-IT--Management Mar 15, 2006 54 US I currently have a report with a select statement as follows: {OAO_HDSP_Support.Last Modified Date/Time} < CurrentDate - 1 I need to select data not touched within 8 hours.....I believe I need DATEDIFF but the solution eludes me...... Thanks
I currently have a report with a select statement as follows: {OAO_HDSP_Support.Last Modified Date/Time} < CurrentDate - 1 I need to select data not touched within 8 hours.....I believe I need DATEDIFF but the solution eludes me...... Thanks
Aug 18, 2008 #2 lbass Technical User Feb 9, 2002 32,818 US Try: {OAO_HDSP_Support.Last Modified Date/Time} < dateadd("h",-8, currentdatetime) -LB Upvote 0 Downvote
Aug 18, 2008 Thread starter #3 Butlertl IS-IT--Management Mar 15, 2006 54 US That worked....thanks again. Upvote 0 Downvote