Recent

Author Topic: [SOLVED] LazReport / FreeReport question ...  (Read 312 times)

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 267
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
[SOLVED] LazReport / FreeReport question ...
« on: September 17, 2024, 11:07:39 pm »
I'm having an issue with just one report. It's quite simple: at the bottom of each report on all 6 reports on the Page Footer band I put a box containing Page [Page No] of [TTL Pages]. Page No and TTL Pages are variables. This works great for every report except one and rechecked to make sure it's the same as other reports. All work except this one. It prints Page 1 of 0, Page 2 of 0.  I've recreated the variables and a new box but just this one report it's still doing the Page 1 of 0, etc.  It's kind of  >:( me off, LoL!  I guess maybe just delete this report and recreate it???

 
« Last Edit: September 19, 2024, 06:56:00 pm by 1HuntnMan »

dseligo

  • Hero Member
  • *****
  • Posts: 1395
Re: LazReport / FreeReport question ...
« Reply #1 on: September 17, 2024, 11:37:59 pm »
Open your report in Designer, go to menu File, then Report Options.
Turn on option 'Two-pass report'. OK, Save. ShowReport;

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 267
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
Re: LazReport / FreeReport question ...
« Reply #2 on: September 19, 2024, 06:55:33 pm »
Thanks, I did that on all the other reports but I checked and had forgotten to check that off when I created the report.

 

TinyPortal © 2005-2018