Solved

SQL to Show Count(*) of Prices in Form

Posted on 2011-02-22
2
270 Views
Last Modified: 2012-05-11
See simple Form1 attached.

I have a very simple table structure.
Multiple suppliers supplying multiple products.

Therefore in the tblPrice a single product could have multiple prices.

I want the YELLOW box in form1 to show the count(*) of prices in the tblPrice for me.productid.

(Therefore in the sample form the YELLOW Box for for ProductID =1 should show a value of two.  Since there are two suppliers providing prices for this product).
Database2--2-.zip
0
Comment
Question by:Patrick O'Dea
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 34951842
see this, change the record source of the form to query1
Database2.mdb
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 34952639
Thanks!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question