Recent

Author Topic: LazReport showing 0 in blank dates  (Read 3473 times)

InfoMan

  • New Member
  • *
  • Posts: 49
LazReport showing 0 in blank dates
« on: June 15, 2012, 02:40:08 am »
Good Evening for All!

I installed version 1.1 of 37641 Review (06/14/2012) Lazarus, along with PowerPDF LazReport 0.9.8 and 0.9.7. Everything works correctly. When compiling a program ready with the new version I realized where they were displayed in the report dates blank (which were blank) is now showing the number 0. Its me again to leave the date blank as before?

Thank you very much all who respond.

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: LazReport showing 0 in blank dates
« Reply #1 on: June 15, 2012, 07:53:43 am »
  Try, frDbDataSet, onNext:
if date_filed.Value = NULL then
 YourReport.FindObject('Memo_date').Memo.Text:= what_you_want_as_string;

Regards.

alexs75

  • Full Member
  • ***
  • Posts: 104
Re: LazReport showing 0 in blank dates
« Reply #2 on: July 01, 2012, 09:38:36 pm »
try set flag on frMemoView "Hide zero values"