Solved

SQL to Show Count(*) of Prices in Form

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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…

707 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

11 Experts available now in Live!

Get 1:1 Help Now