El 13/12/22 a les 12:53, Luca Olivetti via lazarus ha escrit:
As per the subject, I'd like LazReport to print "No records to print" (or whatever else I want to print) when there are no records in the dataset.
How do I do that?

I found a way: add a record summary band with my text and in the OnBeginBand event I set its visible property to false if there are records in the dataset.

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to