Page 2 of 2 FirstFirst 12
Results 16 to 26 of 26
  1. #16
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204

    No I hadn't seen it. Did you add that later?
    Happy to have a look. Are you using my new tables now?
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  2. #17
    lamore48 is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    40
    Yes I am.....

  3. #18
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    OK - all done ... but first an apology
    When I read you were using my tables, I decided (without thinking) to delete the old ones - except the Archive table
    I then realised that all the forms/queries/reports needed modifying to work with the new tables. Doh!!!!
    So I've rewritten them and whilst I was at it, removed all underscores, updated field names etc

    AFAIK its all now working again but please check for yourself
    The Tool Count report (rptToolSubCount) based on query qryToolSubCount has the same results as in your original version
    BUT the results don't make any sense to me

    Click image for larger version. 

Name:	ToolReport.PNG 
Views:	6 
Size:	20.2 KB 
ID:	32804


    Surely the report should show the number of tools per box - number missing e.g. 46001-1 should be 8-6=2
    Anyway I've left it as it was for you to decide

    I also haven't touched the code in the modules, most of which you can delete as its not in use
    Then you should check it compiles with no errors - at the momoent it doesn't
    Hopefully you can continue from here by yourself

    Good luck
    Attached Files Attached Files
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  4. #19
    lamore48 is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    40
    Ok, so what I needed it to do, which is why the query groups all the 46001's together minus the missing tools

  5. #20
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    But the query & report doesn't group them all together - it would make more sense if it did
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  6. #21
    lamore48 is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    40
    So, the query does combine them and totals them when you link it to the tool detail table it solid then up like you see in the report..... In other words I need it to count the 46001-1,46001-2, etc into there are a total of 4 boxes times 8 tools in a box minus the combined number of missing tools

  7. #22
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    We seem to be going around in circles - I re-created what you originally had - is that what you want? (Option A)

    Or each box separately (as now) with e.g. 46001-1 having 8-6 = 2 (Option B)

    Or (Option C) should your report have one entry for all the 46001 boxes with 8*4 = 32 - 10 missing = 22
    Similarly one entry for all 46002 boxes with 8*3 =24 - 8 missing = 16

    Personally I think B or C but not A!
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  8. #23
    lamore48 is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    40
    Option C, one record

  9. #24
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Good. That's the correct answer! Attached
    Attached Files Attached Files
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  10. #25
    lamore48 is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2018
    Posts
    40
    Thank you, I really appreciate your help

  11. #26
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Glad we got there in the end!
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 04-15-2017, 11:09 AM
  2. Replies: 3
    Last Post: 02-22-2016, 03:38 PM
  3. Replies: 5
    Last Post: 05-21-2013, 02:21 PM
  4. Replies: 3
    Last Post: 05-02-2013, 10:36 AM
  5. Replies: 6
    Last Post: 05-14-2012, 07:24 AM

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