I want to let the user choose between creating output on screen (with sections), or creating a CSV-file with the data. If the user selects the CSV-option, the sections should not be printed. Should I do this with setting the ProcessingOnly to False, and if so, how should I do it in OnPreReport? If not, how should I let the sections not be printed? If I set all sections on SHOWOUTPUT=FALSE, the window which would contain the sections would still pop up, saying "Generated 0 pages.".
0
Comments
If you use a variable to choose between print or crate a file, you can on prereport create a function :
begin Funtion XXX
file.crate;
.
.
.
file.close;
currreport.quit;
end Function XXX
I think in this way you'll not have the 0 pages report generated.
Regards
Afonso
For example something like this: