Focal Point
nbsp in Report Heading

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

March 09, 2005, 01:33 PM
suzy_smith
nbsp in Report Heading
For many of our FOCUS reports, we have routines that create fragments of text that are -INCLUDEed in the final TABLE that produces the report.

An example of output that works for FOCUS is a line that is part of a HEADING:

" Inpatient (IPI) "

Note the 2 spaces that precede the word Inpatient.

We would like to carry this indentation of 2 spaces over to reports that run in WebFOCUS.

I'm having trouble figuring out what the syntax should be using nbsp (ampernbspsemicolon).

Any suggestions? We would prefer to not have any of this be stylesheet-based, because that would require re-writing all of the programs that use the -INCLUDE technique.

Thanks. Suzy
March 09, 2005, 01:40 PM
Kamesh
try

DEFINE FILE TEST
SP/A6='&' | 'nbsp;';
END
March 09, 2005, 01:45 PM
susannah
HEADING
"&|nbsp;&|nbsp;InPatient (xx)"

The | is the escape character for the &.
When focus sees the | , it won't prompt you for a value for some &var.
March 09, 2005, 04:57 PM
suzy_smith
Thanks Kamesh and Susannah.

I knew I remembered something about escape and vertical bar. Just didn't guess right about the WF syntax.

I was assuming that the vertical bar was the escape character and that it came before the & (in unix, \ is the escape character and you would put it before the character whose value you wanted to be taken literally).

But I guess things are different in WebFOCUS.

Got it working immediately.

Thanks for your help. Suzy