Hi Emerson,
>I opened the report with use and see that all the times that the record containing lines and shapes comes before others, the report shows lines and shapes correctly, but I can't understand why it works correctly on w2k and xp. Maybe something with gdi+?
It might be related to how transparency is implemented on the various systems and how well the printer drivers deal with that. After all, they most likely were written before GDI+ came out. If the order matters, you might have success with using the "Send to back" and "Bring to front" feature to move all lines and shapes to the front.
Otherwise, you need to reorder the FRX. You can do this with interactively with few lines of code. Select into a cursor that has an additional order field. Use increments of 10 or more here. Next, change the order to move the shapes around. Finally, perform another select into a new file ordering by that field. You can either list all fields to exclude the order field, or include it and use ALTER TABLE to drop it afterwards.
--
Christof