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 -> General/Other

 formatting a textfield

Print topic Send  topic

Author Message
hamster

Posts: 12
Posted: 05/22/2008, 12:25 AM

Hi there
I'd like to know how to format a field during run time.

I have a field with property :

Data Type : "float"
Format : "$0.00"

during run time i'd like to change it.

$NewRecord1->TextBox1->Format = 'R0.00';

the code above doesn't work though.

Any ideas?
thanks
View profile  Send private message
hamster

Posts: 12
Posted: 05/22/2008, 12:30 AM

Hi
I found out how:

$NewRecord1->TextBox1->Format = array(False, 2, Null, "", False, "\$", "", 1, True, "")

something like that works!
thanks
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 05/25/2008, 8:43 PM

hamster
It is always a good feeling when you answer your own questions. When you get the opportunity can you please add [RESOLVED] to your title. Thanks.
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.