how do I prevent multiple copy of field in a query?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my receiving table I have a multiple copies of a same field with different
quantity and different dates. I am trying to use the value of the field from
receiving table in my main inventory query. The result is on the main
inventory query multiple copies of the same field appear on the query. How
can I prevent this?

Your advise is greatly appreciate.

Al.
 
Aliriazi said:
In my receiving table I have a multiple copies of a same field with different
quantity and different dates. I am trying to use the value of the field from
receiving table in my main inventory query. The result is on the main
inventory query multiple copies of the same field appear on the query. How
can I prevent this?

Your advise is greatly appreciate.

Al.

Huh?
You can't keep multiple copies of the same table from your query. How
about giving an example of what you're talking about.

You mean you have something like:

Product(ProductID (PK), ProductName, QOH...)
Receipt(ReceiptID (PK), SupplierID (PK2), ReceiptDate...)
ReceiptDetails(ReceiptID (PK), ProductID (PK), Quantity)

What kind of query are you trying to write? Just explain it in
English... and then throw in your SQL so everyone can understand what
you're talking about.
 

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

Back
Top