Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2007, 11:29 PM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get records between 2 dates and times

I have a database for tracking productivity. Everytime that a product is scanned a date is entered and a time is entered. I need to calculate how many products are scanned between the date1 7am and the date2 6:59:59. We have a 7am to 7am workday. Can anyone help?
 
Old February 21st, 2007, 03:30 PM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You should probably be using a parameter query to make this work.

You can find some nice example about this on

http://www.fontstuff.com/access/acctut08.htm

and change some of the parameters in the query according to what you need...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Pull Records based on Dates sprocket Access 3 July 17th, 2006 03:42 PM
same records shown multiple times alie VB Databases Basics 1 March 8th, 2006 10:13 AM
form, archive records between dates bubblez Access 2 October 2nd, 2003 08:34 PM
script times out dazednconfused Beginning PHP 12 August 27th, 2003 07:32 AM
Local times pow1983 Forum and Wrox.com Feedback 4 June 9th, 2003 11:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.