akio Posted June 25, 2015 Share Posted June 25, 2015 Hi, I get an error message, when i use Fastreport... "Klasse EOutOfResourcees: Nicht genug Timer verfügbar" The variable "Rechnungsadresse" created in ftxReport1 UniMainModule.FrxReport1.Variables.Variables['Rechnungsadresse'] := QuotedStr(UniMemo1.Lines.Text); UniMainModule.frxReport1.ShowReport(); Have you an idea? MfG Karsten Quote Link to comment Share on other sites More sharing options...
docjones Posted June 25, 2015 Share Posted June 25, 2015 you can not call to showreport(). Export your report to pdf or html, and load it in uniurlframe. There are several examples in the forum. 1 Quote Link to comment Share on other sites More sharing options...
akio Posted June 25, 2015 Author Share Posted June 25, 2015 i want export to pdf. I get a Error on export... what am I doing wrong? Code: UniMainModule.FrxReport1.Variables.Variables['Rechnungsadresse'] := QuotedStr(UniMemo1.Lines.Text); UniMainModule.FrxReport1.Variables.Variables['Lieferadresse'] := QuotedStr(UniMemo2.Lines.Text); UniMainModule.FrxReport1.Variables.Variables['Auftraggeber'] := QuotedStr(UniMainModule.Firma); UniMainModule.FrxReport1.Variables.Variables['Datum'] := QuotedStr(DateTimeToStr(Date)); UniMainModule.FrxReport1.Variables.Variables['Bestellung'] := 'Bestellung: ' + QuotedStr(UniEdit1.Text); UniMainModule.frxReport1.PrepareReport; UniMainModule.frxPDFExport1.FileName := 'test.pdf'; UniMainModule.frxReport1.Export(UniMainModule.frxPDFExport1); Quote Link to comment Share on other sites More sharing options...
nim Posted June 25, 2015 Share Posted June 25, 2015 UniMainModule.FrxReport1.Variables.Variables['Bestellung'] := QuotedStr('Bestellung: ' + UniEdit1.Text); 1 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.