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

ItemTemplatePipeline

edited April 2006 in General
Hi,

We just updated to 10.02 from version 7, and I'm happy about the
ItemTemplatePipeline. In the past, we had to make our own work around for
this.

However, I don't know if I'm missing something, but I can't figure out the
timing -- what event should I use, and on which component (TppDesigner?
TppExplorer? TppReport? ) to make sure the Template pipeline had retrieved
the proper template prior to opening the report? My code is fairly
simple -- it's something like this -- and i just don't know where to put it.
This would be required for designing, printing, and previewing the report.

var
iFolderID : integer;
sItemname : String;
exp : TppExplorer;
begin
inherited;
iFolderID := exp.CurrentFolderId;
sItemname := exp.CurrentItemName;
if iFolderID <> null then
if sItemname <> '' then
begin
cdsRGRb_ItemTmp.active := False;
conRGMain.AppServer.SetRb_ItemTmp(sItemName, iFolderId);
cdsRGRb_ItemTmp.Open;
end;

Thanks,

Leah

Comments

This discussion has been closed.