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

Documentname with DataField

edited July 2003 in End User
Hi All,

I need an information from a datafield showing it in the documentname.
This Reports have only one page.
Is there a way to do this?

TIA,
Steve Rasch

Comments

  • edited July 2003
    Hi Steve,


    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;
This discussion has been closed.