Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Disable some reports

edited December 2002 in Subreports
Hi,

I have a question about subreports.
example: I have a report with 3 subreports.
I have also some conditions :
1 condition : I need to print the 2 subreports and not all 3 subreports.
2 condition : I need only one subreport and not all 3 subreports.
How can i disable some subreports before printing ?

Greetz Elprusio

Comments

  • edited December 2002
    In the SubReport's OnPrint event,use:

    ppSubReport1.Visible := True/False

    --
    Ed Dressel
    Team DM
This discussion has been closed.