Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally formatting numeric fields
Message
From
27/04/2008 18:36:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/04/2008 17:01:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01312990
Message ID:
01313396
Views:
9
>Hi Dragan
>
>oops 'second solution', very sorry I have tested your first solution with 'readonly=.f.' e.s.o. and still I see, with no pattern some records with '+' and others not, can't figure out the reason for this.

Look at the expression in the iif - it's ckval%2=1, IOW if the ckval value is an odd number. The % operator returns the remainder of the first operand when divided with the second (and I admit the syntax is sort of weird - not related to any percentages at all). So, any numbers ending in 1,3,5,7 or 9 would print with a +, others without.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform