rtalmeida Posted April 18, 2017 Share 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 Link to comment Share on other sites More sharing options...
allenchow Posted April 19, 2017 Share Posted April 19, 2017 Try adding UniServerModule.StartPath before filename Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted April 19, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 19, 2017 Share Posted April 19, 2017 May you check the fastreport demo? Quote Link to comment Share on other sites More sharing options...
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.