Jump to content

Recommended Posts

Posted

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

Posted

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.

  • Upvote 1
Posted

i want export to pdf.

 

I get a Error on export... 

 

80739c-1435251526.png

 

 

 

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);
Posted

UniMainModule.FrxReport1.Variables.Variables['Bestellung'] := QuotedStr('Bestellung: ' + UniEdit1.Text);

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...