Solved

SQL to Show Count(*) of Prices in Form

Posted on 2011-02-22
2
257 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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

809 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