CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 display records

Print topic Send  topic

Author Message
travel-net

Posts: 56
Posted: 03/11/2004, 12:50 AM

Hello,

How too display only the records with a count value > 2. The count value is working on my grid.

Regards,
Frans
View profile  Send private message
peterr


Posts: 5971
Posted: 03/11/2004, 1:06 AM

Use an SQL query that displays only such records. This is usually done by using the HAVING statement. For example:
SELECT country_name, Count(order_id) FROM orders GROUP BY country_name HAVING Count(order_id)>100;

Also see: http://www.google.com/search?q=mysql+HAVING+statement
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
travel-net

Posts: 56
Posted: 03/11/2004, 1:09 AM

Hello Peter,

Thanks for the quick reply. I will look at the HAVING statement.

Regards,
Frans
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.