Jump to content

Fastreport


akio

Recommended Posts

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

Link to comment
Share on other sites

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);
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...