Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor Question
Message
From
23/06/2006 03:01:53
 
 
To
23/06/2006 02:52:33
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01129463
Message ID:
01131038
Views:
17
>Hello Tore !
>
>Your suggestion will not help !
>Datum1 is never empty !!
>
>My cursor:
>nr KZ amount Datum1
>12 aaa 500.00 FR
>59 bbb 55.00 SA --> all 3 fields(nr,kz,amount) with background rosa ! OK !
>23 qqq 100.00 FF --> all 3 fields (nr,kz,amount)with background red ! OK !
>12 50.00 FF --> only 12 and 50.00 with background red! wanted red background for empty kz
>17 xyz 10.00 DO
>99 zzz 1.00 SA
>14 200.00 DI
>19 kkk 13.00 WE
>
>Best Regards
>Albert

As I wrote to Sergey, I was not aware that BackColor for reports behaved differently from BackColor for grids. Thus I don't think my solution will work anyway, but feel free to try this modified line, which at least will work for a grid:
:LISTENER BACKCOLOR = icase(empty(listwahl.kz) or listwahl.datum1= 'FF',#RED,listwahl.datum1 = 'SA' or listwahl.datum1 = 'SO', #ROSA#,#WHITE#)
If this does not work, you must use Sergey's suggestion.
Previous
Reply
Map
View

Click here to load this message in the networking platform