Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

How to use DELPHI types in RAP

edited December 2009 in General
Hi

RB10.09 and DELPHI 6.02 in Windows XP

I am attempting to solve the slow image handling issue I have by using the
OnGetPicture event. I have tried the following code and get a compile error

procedure dbImgFooterOnGetPicture(aPicture: TPicture);
var
aStream: TBlobStream;
begin
aStream := TBlobStream.Create(V_THT_DOC_GEN['IMAGE_FOOTER'],bmRead);
end;

Error: dbImgFooterOnGetPicture, Line 3: Expected type but found
'TBlobStream' instead.

Now I have included DBTables in the uses clause of the form on which the
report designer is created.

Is it possible to do this in RAP? If so what am I not doing?

Regards
Andrew

Comments

  • edited December 2009
    Hi

    Just found info regarding the RTTI and pass thru functions in the RAP
    section so please ignore this.


This discussion has been closed.