Richedit with data = nil?
Hello,
In my report I use a Subreport. In this Subreport is only one RichEdit with
MailMege = true.
The RichEdit contains text and one field.
If the field data is not nil, there is no problem and the text is
displayed. But if the field is nil, the hole richedit content is not
displayed.
What can I do, to show the text from richedit anyway, doesn't matter if the
field is nil or not?
Regards,
Markus
In my report I use a Subreport. In this Subreport is only one RichEdit with
MailMege = true.
The RichEdit contains text and one field.
If the field data is not nil, there is no problem and the text is
displayed. But if the field is nil, the hole richedit content is not
displayed.
What can I do, to show the text from richedit anyway, doesn't matter if the
field is nil or not?
Regards,
Markus
This discussion has been closed.
Comments
subreport isn't printing in this case. Connect the dataset up to a dbGrid.
Try taking the rich text out of the subreport and place it in the main
report. It should print. I modified the data for our main report demo #28
to contain nulls in Clients.DBF and it will print the rich text control even
if there is no data for the merge fields.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com