rtalmeida Posted April 18, 2017 Posted April 18, 2017 When I do the routine below on the local machine saves the pdf, but when I run on the server it does not generate the pdf file, is there anything that can be done? Exp.Background := True; Exp.ShowProgress := False; Exp.ShowDialog := False; Exp.FileName := 'Files/Docs/Rta-' +FormatDateTime('hhmmsszzz', Now()) +'.pdf'; Exp.DefaultPath := ''; Report.PreviewOptions.AllowEdit := False; Report.PrepareReport; Report.Export(Exp); Quote
allenchow Posted April 19, 2017 Posted April 19, 2017 Try adding UniServerModule.StartPath before filename Quote
rtalmeida Posted April 19, 2017 Author Posted April 19, 2017 Thanks for the answer, unfortunately did not solve, on the local machine saves the PDF, but not on the server. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.