>Anyone familiar with how to step through all records in an .frx and change the reports object's forecolor and backcolor? I need to force a black forecolor and a white backcolor on all objects because some of our reports the 'default' colors are being substituted on workstations and the lines are visible. I would like to do this programmatically before compiling (just like I strip out the info in the TAG fields etc).
>
>TIA!
Tracy,
The forecolor is stored in PenRed, PenGren and PenBlue fields, background in FillRed, FillGreen and FillBlue fields the same way as it used in RGB() function. The default color is represented by -1 in those fields. You may want to change it for report objects with ObjType: 5-Label, 6-Line, 7-shape and field-8.
--sb--