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