January 12, 2008, 11:57 AM
Majid JeddiSpace in SubHead
Hi ,
I am creating a report in MRE and in a subheader i am concatenating 2 fields separated by a space(s).
I am surprised when I run the report to see that the space or spaces I have added to separate the 2 fields are removed.
Is there away how to avoid this?
Thanks for your help.
Majid.
January 12, 2008, 01:05 PM
susannahhtml will reduce multiple spaces to a single blank space unless your force whats called 'non breaking spaces';
e.g.
-SET &HEADER = 'FIRST PART &|nbsp; &|nbsp; &|nbsp; SECOND PART';
TABLE FILE..
HEADING
"&HEADER "
...
January 12, 2008, 03:27 PM
LeahAs Susannah says, would help to see the code. Are you concatenating two fields or are you using spot markers. Is the report HTML, PDF or Excel, all issues when formatting output.
January 12, 2008, 03:46 PM
Majid JeddiHi Lea and Susannah,
Thanks for your answers.
This issue was reported to me by MRE developers who do not have access to manipulate the code of the MRE reports.
The user is creating an MRE report in which he is grouping by Continent,country and then City.
In header for the city he wanted to display:
Continent Country.
He did not created a calculated field he just entered
Thanks
January 14, 2008, 07:23 AM
Majid JeddiHi Susannah,
Thanks it is working.
Majid.
January 14, 2008, 09:22 AM
GuyNot that this is quite the same thing.... but...
I was having trouble maintaining spacing in a header when I entered spaces and/or characters when I was trying to align a value above a column.
I was able to overcome most of this problem by switching to Courier font for the line that contains the inserted value. Apparently certain fonts will maintain consistent spacing per character. Other fonts seem to condense the spaces and empty space around certain characters.
Guy
January 14, 2008, 09:41 AM
LeahGood old fonts have never been friendly to the programming world. It's one of those have your cake and eat it too. If you chose a 'pretty font' the spaces get narrowed. Does any one ever wish for the typewriter days where you only had two choices, pica and elite?