Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Letter Format Report

$
0
0
Hello,

How is the best way to create a report in a letter format, like the following:

"Mrs %client%,

Is a pleasure to have you as our client in the or shop %shop% and we are very happy since %joindate%. Please notice that this text neet to be very large, an your name may be here again %client%, also in bold.


Thank you mr %client%, happy new year.
"

I need to replace the %variable% with text from database, it is easy, but i get a problem when i need to place the bold in part of the text.
I am using a messagefield, all the text is returned by the Query ("select 'Mr cliente' + cliname + ''...), and HTML for the BOLD part.

The problem is that this bold part sometimes remove parte of the following text, depending on the lenght of the fields...

Is there a easier way to set bold and to concat this fields, like concating diferente message elements, beeing some of then with bold property and some without bold property? Notice that i need to have all the text in a single string at the end, to respect the formatting of the letter.

Is possible to use another report element in the "Value Formula" of a element?

Thanks

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>