Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor Question
Message
From
23/06/2006 05:16:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/06/2006 03:00:38
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:
01131052
Views:
10
>Hello Sergey
>
>I want to avoid placing 2 objects at the same place.
>I did this with VFP 6,7 ...and code something at print when. Heavy to maintain.
>
>Too bad ;-)
>
>Thank you for your answer.
>
>Best regards
>Albert

Albert,
I'd use shape either.
If you don't want to add them then you can do something like this (debatable if easier than shapes or not:)
-In your report cursor use something that denotes 'empty'. ie: For a char field replicate('X',fsize('fieldname')). Or you might use a memory variable instead (m.emptyflag = 'X', and expressions like evl(fieldName,m.emptyFlag).
-Set backcolor as usual
-Set forecolor to be the same as backcolor if it's empty.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform