CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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