Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: InfoMan on June 15, 2012, 02:40:08 am

Title: LazReport showing 0 in blank dates
Post by: InfoMan 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.
Title: Re: LazReport showing 0 in blank dates
Post by: exdatis 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.
Title: Re: LazReport showing 0 in blank dates
Post by: alexs75 on July 01, 2012, 09:38:36 pm
try set flag on frMemoView "Hide zero values"
TinyPortal © 2005-2018