Recent

Author Topic: data fields not showing in lazreport  (Read 3642 times)

davesimplewear

  • Sr. Member
  • ****
  • Posts: 319
    • Davids Freeware
data fields not showing in lazreport
« 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
All things considered insanity seems the best option

Wargan

  • New Member
  • *
  • Posts: 48
    • 'This way' site
Re: data fields not showing in lazreport
« Reply #1 on: September 13, 2017, 08:10:06 am »
Give your source code.
Lazarus 1.8RC5+ FPC 3.0.4.
Windows 7 x32, RAM 3 Gb.

davesimplewear

  • Sr. Member
  • ****
  • Posts: 319
    • Davids Freeware
Re: data fields not showing in lazreport
« Reply #2 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;
All things considered insanity seems the best option

heinz_von_stein

  • Newbie
  • Posts: 2
Re: data fields not showing in lazreport
« Reply #3 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.
 

 

TinyPortal © 2005-2018