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
Comments
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