Query with calculated fields across Multiple Tables returns duplicate values (1 Viewer)

Kozbot

Registered User.
Local time
Today, 05:22
Joined
Jan 16, 2013
Messages
110
Hello everyone

I have two tables, Production Table and Material Usage Table. I am generating reports using a parameter query (for each production run) for both of them. The material usage query contains calculated fields using fields from both tables. When I run a the query for a unique production run (there is production record per production run in the table) in Material Usage query it returns two duplicate values for one unique lot number HOWEVER with differing values in the calculated fields.

Does anyone know what is causing this and how to fix it?

Thank you!
 

llkhoutx

Registered User.
Local time
Today, 07:22
Joined
Feb 26, 2001
Messages
4,018
The query is bad. It would return duplicates without the calculated field.
 

Users who are viewing this thread

Top Bottom