Code:
SELECT DISTINCTROW [RRCC2 Production Log].[RRCC2-Date/Time], [RRCC2 Production Log].[Part Number], [RRCC2 Production Log].[Discrete Job], [RRCC2 Production Log].[RRCC2-Operator], [RRCC2 PM Log].[RRCC2-Etch Rate]
FROM [RRCC2 PM Log] INNER JOIN [RRCC2 Production Log] ON [RRCC2 PM Log].[Discrete Job] = [RRCC2 Production Log].[Discrete Job]
ORDER BY [RRCC2 Production Log].[RRCC2-Date/Time] DESC;
I have two tables ([RRCC2 Production Log],[RRCC2 PM Log]) with the similar field [Discrete Job]. I want to display all the records in the table [RRCC2 Production Log] and only the records that have the same [Discrete Job] in [RRCC2 PM Log]. Not all the records in [RRCC2 PM Log] have [Discrete Job] values. This is a one to one relationship.
I have about 2700 records in the [RRCC2 Production Log] table, but when I create this query, it turns out 5700 records. It makes up new records, and I can't figure out how to stop that. The field [Discrete Job] should only have one record each, yet multiple records are created based on the other field's values.
Any help would be greatly appreciated.