Results 1 to 8 of 8
  1. #1
    barrettw4 is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    5

    Angry I can't figure out how to get my multitable/multiquery query to work

    I have 4 different tables for loads for different companies and one of additional payments. I am trying to create a query so i may create a report for payroll. I am using multiple tables because the info for each is very different and there are hundreds of loads a day



    tblDrivers- all other tables are related - has info on drivers and pay percentages
    tblWhiteLoads- loads from White... I also have a query of white loads that just provides info i would use for payroll. Driver, LoadDate, CustName, and the driver pay for the load
    tblGPLoads - Loads from GP... also have query same as white
    tblTank - Loads from tanks... same as above
    tblAdditionalWork - extra bonuses and work besides main work to be added to payroll - Driver, Date, reason, amount

    I am wanting to query so all the data comes in one report so I can sort through and create one simple printoff for payroll instead of printing 4 pages out and calculating them after. this is the only thing i lack to completing my database and it is incredibly frustrating. If there is a better way i could do this let me know. I would like the report to just have Driver, Date, Customer, Driver pay. I know that is for reports but i thought id share if it would be easier doing it another way.

    HELP PLEASE AND THANK YOU!!!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Please tell readers what a White Load is compared to a GP Load. Also you might want to give readers a 30000ft overview of your business in plain English. Once someone understands WHAT you are trying to do,there may be options as to HOW it might be achieved.
    Good luck.

  3. #3
    barrettw4 is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    5
    White and GP are the companies the loads are dispatch for. This is for a trucking company. Basically with this database, I dispatch load numbers and receive data from the load to send invoices, breakdown income for our book keeping, and do payroll. i just want to consolidate all the loads per pay period by driver then print the report, but I think I need to create a query to get all the information together.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    I suggest you work through this tutorial from Rogers Access Library. It may seem like a step back to you, but I can assure you this will benefit you. You have to work through it, but you'll learn some basic concepts on tables, design and relationships. Pay particular attention to the process involved. Also, pay attention to how the requirements are described. What you learn can be applied to any database.

    Good luck.

  5. #5
    barrettw4 is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    5
    i am still trying to figure it out. maybe something pertaining to multiple multiple one to many relationships going to the same field? not sure how to correct this...

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849

  7. #7
    barrettw4 is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    5
    Yes, it was basically how I created the table. I think the problem I am having isn't clear. I need to know how to create the query so each driver has all the values for each load of all the different tables. I just need to know how to go about doing this.

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    I think the problem I am having isn't clear.
    I agree.
    You need a clear statement of the issue/opportunity in simple English.
    You can identify your tables, their attributes and relationships between tables
    using pencil and paper, post-it type notes etc. Getting the tables and relationships
    identified and tested is critical.

    It seems you are dealing with these (generally)
    Drivers
    trucks
    loads
    dispatches
    work breakdown
    invoices

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

Similar Threads

  1. Can't figure out how to do this query
    By delorean004 in forum Queries
    Replies: 1
    Last Post: 12-22-2014, 04:33 AM
  2. Replies: 4
    Last Post: 12-06-2014, 08:49 PM
  3. Can't Figure Out Why Code Doesn't Work
    By nosmoke in forum Programming
    Replies: 3
    Last Post: 09-26-2013, 12:23 PM
  4. Autonumber in multitable form
    By Fairlane in forum Forms
    Replies: 5
    Last Post: 08-29-2013, 06:15 PM
  5. Cannot Figure this query out
    By ryan1313 in forum Queries
    Replies: 6
    Last Post: 08-13-2010, 12:54 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