:banghead:
Hoping to get some help with this one. We have a company that designed a Quality system for us, but didn't build any of the reports, so I have been left trying to figure out the different queries to run these reports. Here is my latest issue: the company built a quality table, where it shows how many defects were found, and samples that were inspected. However, if a defect is found, that information goes into another data table, using the auto # id field as the reference # to which inspection the defect was found in. That is the only way to join these. The problem is, I also have those inspections in the Quality table where there weren't any defects found. I am trying to write a query to calculate the quality index each day for each of our production lines, but any of the lines that have no defects found won't show up because they aren't in the defect table. Does anybody have any thoughts on how I can combine them? I have tried to figure out if I can use the is null or is not null somehow in a query but can't seem to get anything to work. Any advice would be great! Thanks in advance!
Hoping to get some help with this one. We have a company that designed a Quality system for us, but didn't build any of the reports, so I have been left trying to figure out the different queries to run these reports. Here is my latest issue: the company built a quality table, where it shows how many defects were found, and samples that were inspected. However, if a defect is found, that information goes into another data table, using the auto # id field as the reference # to which inspection the defect was found in. That is the only way to join these. The problem is, I also have those inspections in the Quality table where there weren't any defects found. I am trying to write a query to calculate the quality index each day for each of our production lines, but any of the lines that have no defects found won't show up because they aren't in the defect table. Does anybody have any thoughts on how I can combine them? I have tried to figure out if I can use the is null or is not null somehow in a query but can't seem to get anything to work. Any advice would be great! Thanks in advance!