Jan 21, 2004 #1 Clegg25 MIS Jul 27, 2003 24 US how do i make a query that pulls up the last 12 or 24 hours of information based on a Time/Date field?
how do i make a query that pulls up the last 12 or 24 hours of information based on a Time/Date field?
Jan 21, 2004 #2 JonFer Programmer Nov 7, 2003 868 US In the criteria for your Time/Date: Code: >=Now()-0.5 (for 12 hours) >=Now()-1 (for 24 hours) Upvote 0 Downvote
Jan 21, 2004 Thread starter #3 Clegg25 MIS Jul 27, 2003 24 US the 24 hours works great, but the 12 hour does not work. at least i dont think it does. Upvote 0 Downvote