Using PDFInclude in sub procedures?

Hi,
I'm using PdfInclude in my "w" file (window). I have "MyPageHeader" procedure that put my messages on each page. But when I call MyPageHeader procedure in my button triger error messages comes "no TT_pdf_stream record is available"

MyPageHeader Procedure is:

PROCEDURE MyPageHeader:

RUN pdf_text_at ("Spdf", "ŞİRKET KODU:",20).
RUN pdf_text_at ("Spdf", "DENEME",33).
RUN pdf_text_at ("Spdf", "YEVMİYE DEFTERİ",50).

END.

I want to call this procedure when I add new page in the pef file...

How can I add something in the pdf file within sub procedure?...

Regards,
Mucip:)


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Using PDFInclude in sub procedures?

Hi,
Sorry... I found the answer in other posts...

Regards,
Mucip:)