QReport: Conditional band printing.
Posted on 2000-01-29
I've this data structure:
table tA with fields A,B,C,D,E of any type.
I need to print with QReport something like this:
Group Band (field A)
Detail Band (*)
(*) in the detail band i need to print
C or D or E or (C,D) or (C,E) or (D,E)
depending on the value of B
How can i do this?
Is there any way to create all posible detail bands and show only what i need?
Perhaps i can do this trough the OnPrint event but do i have to create each component in the detail band at runtime depending on what to print?
I'm using Delphi 5 with QReport 3.0.5.
Thanks to you all,