General information
Category:
Reports & Report designer
Hi Doru,
Thanks for the reply..
The problem is that the object's colours vary from record to record (the RGB value is stored in a field in the table)and can be any valid RGB combination - so multiple overlapping objects are not feasible.
The PenRed/Blue/Green fields are numeric, so I could not point them to a UDF which could change the values from one detail line to the next.
I was looking for a way to alter these values from one record to trhe next.
>Hi Ashley,
>
>If you open the report file as a dbf (use yourReport.frx), and browse it, you will see 6 fields that control the color - Penred,Penblue,Pengreen,Fillred...
>At run time you can replace the values with your values, close the file, and then run the report.
>The only problem is to identify the records for the objects you want to change colours. You can use the expr field if they are variable or fields, or coordinates if the coordinates are fixed.
>It would be safer (especially if you are in a multi user setting), if you copy the frx/frt report files into some temporary files, and do the modifications on the temporary file.
>
>I'm not sure now I understand what you want...
>If you want the same field to be printed red, blue, etc. depending on some condition, then you can put two, or more objects overlaping each other, and use "print when" to select which one you print.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only