How to modify the text before preview in my report
hello,
i want to modify the text shown which from a database before preview,such as if the total num is not null then i will show "total num:....",if the total num is null,then the text object will empty,all these will be done before the preview?
i can do something like these before print,but not preview,who can help me?
i want to modify the text shown which from a database before preview,such as if the total num is not null then i will show "total num:....",if the total num is null,then the text object will empty,all these will be done before the preview?
i can do something like these before print,but not preview,who can help me?
Comments
OnBeforePrint of the Memo:
It's not very nice, but it works... maybe there's a better solution?
whether before preview is the same as the before print?i do not think so?
thanks again.
Btw. I think there's another solution, too.
in the OnGetData event --> set the component to invisible. (memo.visible := false)
But I didn't try this yet.