I need a bit of help thinking through a query I am working on. I have three tables, one being a joined table - tblSiteVisits, tblIssueCodes, tblSiteVisitsJOINEDIssueCodes. I think I may have messed up my intention when creating this db.
Reps go out on Site Visits - logged into tblSiteVisits. If they encounter a problem, that problem is logged into the Joined table. tblIssueCodes have multiple columns so a m-v field wouldn't work (and they are of the devil anyways!). However, it is possible that not every site visit has an issue, and thus no issue code would be attached to that record (i have the joined table as a subform to choose the codes from a combobox and record notes , resolved date, etc.
So I try to run a query, and the only record that is returning (in my test tables) is the one with issue codes attached to it. I need all of the records to return, and not just the ones with issue codes attached to them. Can't figure out what I am doing incorrectly.
As always, insight and help is appreciated.
Reps go out on Site Visits - logged into tblSiteVisits. If they encounter a problem, that problem is logged into the Joined table. tblIssueCodes have multiple columns so a m-v field wouldn't work (and they are of the devil anyways!). However, it is possible that not every site visit has an issue, and thus no issue code would be attached to that record (i have the joined table as a subform to choose the codes from a combobox and record notes , resolved date, etc.
So I try to run a query, and the only record that is returning (in my test tables) is the one with issue codes attached to it. I need all of the records to return, and not just the ones with issue codes attached to them. Can't figure out what I am doing incorrectly.
As always, insight and help is appreciated.