Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    madpiet is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    154
    Add a filter for the Approvals. e.g. [Approved]=True

    Not sure how you're getting blank/null technicians with that query. Did you follow June's suggestion?

  2. #17
    i-Zapp is offline Novice
    Windows 11 Office 365
    Join Date
    Jan 2024
    Posts
    15
    Quote Originally Posted by madpiet View Post
    Add a filter for the Approvals. e.g. [Approved]=True

    Not sure how you're getting blank/null technicians with that query. Did you follow June's suggestion?
    GOT IT TO WORK! (with the test db, and my real/big db)
    this was the trick -
    Code:
    SELECT qryTechsSkillsXjoin.TechID, qryTechsSkillsXjoin.Skill_ID, tblTrainingMatrix.Approver_IDFROM qryTechsSkillsXjoin LEFT JOIN tblTrainingMatrix 
    ON (qryTechsSkillsXjoin.TechID = tblTrainingMatrix.TechID) AND (qryTechsSkillsXjoin.Skill_ID = tblTrainingMatrix.Skill_ID)
    WHERE (((tblTrainingMatrix.Approver_ID) Is Null)) OR (((tblTrainingMatrix.TechID) Is Not Null));
    using this code, i get all 6137 permutations on my real db, along with the correct training association between technician and training skill.

  3. #18
    madpiet is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    154
    Well done! (Yeah, getting your head around this stuff is HARD.)

    Does it make sense now?

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

Similar Threads

  1. Replies: 2
    Last Post: 03-02-2023, 09:25 AM
  2. Replies: 4
    Last Post: 04-24-2021, 02:04 PM
  3. Need "0" in crosstab query (for empty cells)
    By skydivetom in forum Queries
    Replies: 4
    Last Post: 03-02-2020, 02:31 PM
  4. Replies: 2
    Last Post: 01-09-2019, 05:25 AM
  5. Replies: 3
    Last Post: 07-23-2011, 09:12 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