CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dynamic Labels

Print topic Send  topic

Author Message
billames

Posts: 5
Posted: 05/03/2005, 12:07 PM

I'm trying to create a dynamic label which would display a record count from a database. I have not been able to do this without adding a grid to the page. Is there an easy way to have a label display something from say this query:

SELECT COUNT(*) AS Expr1 from Claimsdata

So then on my page it would look something like:

543 Claims in the database

Any help would greatly be appreciated.
View profile  Send private message
Nicole

Posts: 586
Posted: 05/04/2005, 4:34 AM

Hello,
You can use CCDLookUp() function to retrieve a single field value from a table or execute custom query using Execute method. Refer to CCS docs for more information and sample code
http://docs.codecharge.com/studio/html/index.html?http:...BValue.html?toc
http://docs.codecharge.com/studio/html/index.html?http:...tomSQL.html?toc

_________________
Regards,
Nicole
View profile  Send private message
billames

Posts: 5
Posted: 05/04/2005, 9:55 AM

Thanks a bunch, I used the "Retrieve Multiple Field Values from a Database" and it works perfectly.

Thanks again.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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