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 -> .NET

 simple number formatting question

Print topic Send  topic

Author Message
kabila

Posts: 30
Posted: 10/12/2004, 4:35 PM

In a Grid control, I would like to display blank when the value of the labelfield is 0; and display otherwise.

On the same logic, if the value is negative, I would like to display red (number).

Appreciate any pointers. I am thinking it is somewhere around the Format attrib of the field, and use something like (0.#;[Red]0.#) - Is that correct, and how do you specify the Mask string?

thanks
-Sam
View profile  Send private message
peterr


Posts: 5971
Posted: 10/13/2004, 3:42 AM

Sam,

This section of CCS Tutorial shows an example of how to change a field's value or color:
http://docs.codecharge.com/studio/html/QuickStart/Creat...FieldValue.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.