Jan 21, 2004 #1 Clegg25 MIS Joined Jul 27, 2003 Messages 24 Location 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 Joined Nov 7, 2003 Messages 868 Location 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 Joined Jul 27, 2003 Messages 24 Location US the 24 hours works great, but the 12 hour does not work. at least i dont think it does. Upvote 0 Downvote