Retrieving Version information form report
I am completely new to Fast Reports using Version4 standard and Delphi XE5 in windows 7 Pro.
I am trying to develop a version control system for our reports.
I entered numbers into the report options fields
I tested the following code:
procedure TfrmPatServices.Button1Click(Sender: TObject);
var LVersion :string;
begin
inherited;
dmodReports1.PrepareServiceReportQueries;
frxReport1.LoadFromFile('C:\Work\HHCReports\PatientServiceMC.fr3');
with frxReport1.ReportOptions do
LVersion := VersionBuild + '.' + VersionMajor + '.' + VersionMinor + '.' + VersionRelease;
ShowMessage(LVersion);
frxReport1.ShowReport;
end;
The message only shows the periods I would have expected 1.1.1.1 not ...
Any help is appreciated
Rob Hoyer
I am trying to develop a version control system for our reports.
I entered numbers into the report options fields
I tested the following code:
procedure TfrmPatServices.Button1Click(Sender: TObject);
var LVersion :string;
begin
inherited;
dmodReports1.PrepareServiceReportQueries;
frxReport1.LoadFromFile('C:\Work\HHCReports\PatientServiceMC.fr3');
with frxReport1.ReportOptions do
LVersion := VersionBuild + '.' + VersionMajor + '.' + VersionMinor + '.' + VersionRelease;
ShowMessage(LVersion);
frxReport1.ShowReport;
end;
The message only shows the periods I would have expected 1.1.1.1 not ...
Any help is appreciated
Rob Hoyer
Comments