Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: davesimplewear on September 13, 2017, 05:59:24 am

Title: data fields not showing in lazreport
Post by: davesimplewear on September 13, 2017, 05:59:24 am
data fields not showing in lazreport although tables are present, compiled both reports earlier when fields were showing, no idea whats going anyone have a similar problem? :o
Title: Re: data fields not showing in lazreport
Post by: Wargan on September 13, 2017, 08:10:06 am
Give your source code.
Title: Re: data fields not showing in lazreport
Post by: davesimplewear on September 13, 2017, 09:15:30 am
the code for showing the reports is as follows:
also find attached the two reports and the sq used to create the tables, just delete the .txt extension as I cannot attach the files.

procedure TfReports.ViewReport;
begin
  diaryRpt.LoadFromFile(ExtractFilePath(Application.ExeName)+'/data/readings.lrf');
  diaryRpt.ShowReport;
end;

procedure TfReports.ViewNotes;
begin
  diaryRpt.LoadFromFile(ExtractFilePath(Application.ExeName)+'/data/notes.lrf');
  diaryRpt.ShowReport;
end;
Title: Re: data fields not showing in lazreport
Post by: heinz_von_stein on September 19, 2017, 08:08:29 pm
After renamaing the frDBdataSet i had the same experience.
The DataSet of the master-band was not automatically renamed.