Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally formatting numeric fields
Message
From
28/04/2008 03:53:18
 
 
To
28/04/2008 03:42:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01312990
Message ID:
01313437
Views:
10
>Dragan,
>
>Hi there again,
>
>I am using home()+labels.
>when I issue:
>
>BROWSE FIELDS name,readonly, cc=PADR(iif(readonly=.f., alltrim(transform(ckval, "@ 999,999,999.99")) + " + ", transform(ckval,"@ 999,999.99")), 10)
>
>I see a for my abnormaly: only fields cc where labels.name are 4143,4166,4169,4254,5095, 5163,5164,5199-F,5385,5660,5897,7161,7164,7167 show with an additional "+" all the others without. In all cases the field Readonly = .f. Just out of curiosity, what could possibly be the reason for this?
>
>Regards,
>
>Koen

1. The + comes from + " + " which tells me that only the values you mention are readonly, OR your label is not wide enough to show the + in all cases
2. if readonly=.F. can, and should for readability, be shortened to if !readonly or if not readonly<
3. You should avoid readonly as a field name since readonly is a reserved word, use ro instead.
Previous
Reply
Map
View

Click here to load this message in the networking platform