Focal Point
Space in SubHead

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7781037562

January 12, 2008, 11:57 AM
Majid Jeddi
Space 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.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
January 12, 2008, 01:05 PM
susannah
html 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 "
...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
January 12, 2008, 03:27 PM
Leah
As 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.


Leah
January 12, 2008, 03:46 PM
Majid Jeddi
Hi 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


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
January 14, 2008, 07:23 AM
Majid Jeddi
Hi Susannah,

Thanks it is working.

Majid.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
January 14, 2008, 09:22 AM
Guy
Not 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


WebFOCUS 7.6.4
Windows XP against an Oracle Database mainly SCT Banner Higher Education ODS and EDW
Various output formats


Guy Brenckle
Budget Analyst
University of Northern Colorado
January 14, 2008, 09:41 AM
Leah
Good 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? Winky


Leah