Results 1 to 2 of 2
  1. #1
    DataLover is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2017
    Posts
    1

    Question Query Help (or some other way to accomplish this)

    Good afternoon!


    I have a database that tracks data keyed for an entire week off our incoming forms. This weekly database has about 2 million records (it is broken down by piece of data such as name, address, etc.) that is used across the company.

    What I am trying to do is consolidate this data down a bit to make it more manageable for some forecasting and trending needs. If it wasn't so large, I would throw it into a pivot table and bam I have what I need. BUT....that's not possible so I need a query or a new table to help trim this down a bit.

    The fields I am working with are:

    KeyerID (important)
    Keyed data
    KeyedTime (important)
    KeyedDate (important)
    SentTime (Important - this is a date/time field)

    There are some other miscellaneous fields in the table but the ones about that I have listed as "important" are the ones I need to include in the query. What I want to accomplish is to group this data as follows:

    KeyerID:
    SentTime: I want to sum the KeyedTime for an entire hour for each KeyerID for each KeyedDate in the database. So it would look something like:

    KeyerID: John Smith
    Date: 10/16/2017
    SentTime: 10/16/2017 7:00 AM
    KeyedTime: 123456 (this would represent the sum of all the time spend keying items in the 7am hour).

    Does this make sense? Is it attainable? There could be hundreds of records that would fall into this bucket with all kinds of various time stamps. I just want to see the top of the hour time stamp such as 6am, 7am, etc. I am confident this is fairly simple, but my brain is not working properly right now to accomplish this. Thank you in advance for your assistance - greatly appreciated!!!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Hmm? It's your data and in some manner is collected to support your business. You mention consolidate, but you really haven't said what is to be consolidated. What exactly is the issue(s) you are experiencing? If you had unlimited power/resources, what would be "consolidated" --that is what would be different?

    A weekly database of 2 million records?? Please tell us more.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-01-2017, 12:20 PM
  2. Most Efficient Way to Accomplish Task
    By cc143most in forum Access
    Replies: 2
    Last Post: 08-24-2012, 02:17 AM
  3. best way to accomplish this (aggregate tables)
    By TheShabz in forum Queries
    Replies: 7
    Last Post: 12-27-2011, 05:42 PM
  4. Will access accomplish this?
    By Andy128 in forum Access
    Replies: 1
    Last Post: 07-10-2010, 01:47 PM

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