it should be no problem. I would use a event raised after selecting a new template. e.g. 'TppDesigner.OnReportSelected' or the 'AfterScroll' event of the item dataset. myReport.PrinterSetup.DocumentName := myItemDataSet.FieldByName('DocumentName').AsString;
Comments
it should be no problem. I would use a event raised after selecting a new template. e.g. 'TppDesigner.OnReportSelected' or the 'AfterScroll' event of the item dataset.
myReport.PrinterSetup.DocumentName := myItemDataSet.FieldByName('DocumentName').AsString;
regards,
Chris Ueberall;