* * *

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

davesimplewear

  • Sr. Member
  • ****
  • Posts: 304
    • 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: 44
    • '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.6.4 stable + FPC 3.0.2.
Windows XP SP3, RAM 1 Gb - testing and commissioning programs for old computers.

davesimplewear

  • Sr. Member
  • ****
  • Posts: 304
    • 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.
 

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus