Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor Question
Message
From
20/06/2006 07:28:53
 
 
To
20/06/2006 03:45:11
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:
01130201
Views:
18
>Hello Tore!
>Thank you for your answer, but i'm not quite sure whether you understood my problem ??
>
>I want to print 3 fields. day,text1 and amount for example.
>If datum1 = SA or SO the backcolor of all 3 fields should be rosa, if datum1 = FF the backcolor of all 3 fields should be red, otherwise white
>
>A record with day = 1 text1="XYZ" amount=50 is printed as wanted
>(for example: backcolor red if datum1 = FF)
>
>A record with day = 17 text1 = " " amount=75 is not printed as wanted. (datum1 = FF)
>Day and amount have backcolor red(ok), text1 has backcolor white ???
>I want backcolor red for the empty text1 field also.
>
>Any help welcomed
>Best regards
>Albert

Im's sorry, but I did not analyze your problem thoroughly, I simply wanted to give you an idea so you could fix it yourself. Will this work for you?
*:LISTENER BACKCOLOR = icase(empty(listwahl.datum1) or listwahl.datum1= 'FF',#RED,listwahl.datum1 = 'SA' or listwahl.datum1 = 'SO', #ROSA#,#WHITE#)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform