How to make a query records as criteria to the other query

T

Tyven Bong

I have a select query that will display these records (no duplicate):
# Product Qty
-- --------- ------
1 Soap 3
2 Milk 4

When I click the "Soap" (record #1), it will open another query that will
use "Soap" as criteria to show all the transaction for Soap.

Product Date Buyer Qty
--------- ------- -------- -------
Soap 12/1/10 AFD 1
Soap 13/1/10 FJH 1
Soap 16/2/10 ASN 1

Is any one can help me to get the above result.
 
K

KARL DEWEY

Use a form to display your query. I would use a double click event to open
another form fed by this query --
SELECT Product, [Date], Buyer, Qty
FROM YourTable
WHERE Product = [Forms]![YourFirstForm]![ProductTextBox];
 

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