1
I can generate the PDF from the code below:
fdm.frxPDFExport.FileName := 'C:\PASTA_TESTE\ARQUIVO_TESTE.PDF';
frxReport.PrepareReport();
frxReport.Export(fdm.frxPDFExport);
The detail is that it shows me the screen to choose where to save the file.
I would like to save without user intervention, since I determined the path and file name.
Hello Gabriel, thanks for the reply, in addition to Printoptions = False, also put fdm.frxPDFExport.Showdialog := False; and it worked.
– Marcelo
That, I forgot that the other was for printing, that was for export
– GabrielLocalhost