Hi there I am doing a report. The report has few optional filters which the user can choose. I want to display filters chosen by the user on the top of the report. How do I do it? Thanks in advance.
Take a look at Report 1 Chart of Accounts, for example. There is a section named G/L Account, Header (2) which contains a TextBox with the following SourceExpr: “G/L Account”.TABLECAPTION + ': ’ + GLFilter The following code in this sections’s OnPreSection trigger makes it print on the report’s first page and only if the variable GLFilter contains a value: CurrReport.SHOWOUTPUT((CurrReport.PAGENO = 1) AND (GLFilter <> ‘’)); GLFilter is a global Text250 variable and it’s value comes from the following piece of code in the report’s OnPreReport trigger: GLFilter := “G/L Account”.GETFILTERS;