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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...