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

tsReportTemplateVolume

edited April 2005 in Server
D7, RB 9.0.2 trial

The property FileDirectory seems to want a hard-coded path,
($application)\ does not work for me. Is this as designed, am I
making a mistake or ??

tia,
Martin

Comments

  • edited April 2005

    The $Application variable is not currently supported for the FileDirectory
    property - you have to specify the path. (We need to add that feature to a
    future release). In our demos we use the following in the OnCreate of the
    datamodule

    uses
    ppFileUtils;

    procedure TdmReportTemplateVolume.DataModuleCreate(Sender: TObject);
    begin

    rsReportTemplateVolume1.FileDirectory :=
    TppFileUtils.GetApplicationFilePath + 'Report Files';

    end;


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.