delphi - How to remove a FIELD of "Text Object" in FastReport that has NULL Value -
here table:
question:
how remove field hasnull value? how appropriate algorithm ?
you can suppress printing of label setting visible property in onbeforeprint event in report.
however, still leave blank line, can solve in 1 of 3 ways (in ascending order of difficulty).
firstly, can ignore suppression of label printing detailed above , set text property of field 'no' if db field null in onbeforeprint or ongettext events.
alternatively, can define memo field , in onbeforeprint method calculate text property include non-null values , labels.
finally, can @ documentation , utilize scripting modify study engine's currx , curry properties in order suppress blank lines.
delphi delphi-7 fastreport
No comments:
Post a Comment