Too Many records showing up

S

SAC

I have three tables that I'm trying to make work in a query: SalesOrders,
CrossReference, PurchaseOrders.

The CrossReference Table has SalesOrderNumber, FactoryPurchaseOrderNumber,
and CustomerPONo in it.

(I didn't design the system...just trying to work with it the way it is.)

When I make a query using SalesOrders and CrossReference related by
SalesOrderNumber for a particular CustomerPONo, I get 4 records.

Likewise, when I make a Query using FactoryPurchaseOrder and CrossReferece
related by FactoryPurchaseOrder for a particular CustomerPONo,. I get 4
records.

However, when I use all three tables in a query I get 16 records.



Table A------Table B = results in 4 records

Table C------Table B = results in 4 records

Table A------Table B------Table C = results in 16 records.

I've tried all the different join properties and still get 16 records.

I've also tried using the first two queries as data source in a third query
but still get 16 records.

For each result I'm getting all the records of the other table.

How can I get only the four records?

Thanks.
 
J

Jeff L

Are you linking your Customer PO Number fields together too? In
reading what you wrote, it sounds like that may be the issue you are
facing if the Customer PO Number fields are not linked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top