Results 1 to 2 of 2
  1. #1
    ManaLyn is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2012
    Posts
    1

    Adding an auto count for last 24h on new record entries starting at 7am

    I am trying to figure out a way in either coding on the form or by use of a query to add the records in a field for a workday (stating at 7am and ending at 6:69am the next morning). Is there a way that I can make a text box add a number each time a new entry is saved? Or to add the new number to the last record?


    I am trying to record the number on inspections an operator does per day, along with how many of the inspected items are rejected. At the moment I have a field set up for each of these with the "inspected" automatically recording 1, and if there is a rejected button pushed entering a 1 in that field, (0 if not rejected).
    I am open up for suggestions.

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum!

    Could you provide a list of fields in each table with which you are dealing?

    I would think that you would record the date/time of the inspection, the item inspected and the disposition (rejected or not rejected). You would then just count the records with in the date/time period you want. This can be done easily with the DCount() function provided your tables are set up properly.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. help adding multiple entries to outlook
    By Goli1984 in forum Programming
    Replies: 1
    Last Post: 01-26-2012, 03:35 PM
  2. Replies: 2
    Last Post: 10-21-2011, 07:11 AM
  3. Count date entries from seperate tables/queries
    By krutoigoga in forum Queries
    Replies: 3
    Last Post: 06-30-2011, 12:48 PM
  4. Replies: 9
    Last Post: 06-20-2011, 03:42 PM
  5. Query to group and count field entries
    By newtoAccess in forum Queries
    Replies: 4
    Last Post: 11-29-2010, 09:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums