Solved

SQL to Show Count(*) of Prices in Form

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

Accepted Solution

by:
Rey Obrero 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

947 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now