[CLOSED] Need to have an & as part of report title
I simply want to hard code my report title to:
B&G Department
When I do this it prompts me for: G!This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8206.08 Windows, All Outputs
November 15, 2017, 09:59 AM
BabakNYC
Could you post your example? By title are you looking for the column title or are you talking about the heading of the report?
TABLE FILE CAR
SUM SALES
BY COUNTRY AS 'B&|G'
BY CAR
HEADING
"B&|G"
ON TABLE PCHOLD FORMAT HTML
END
WebFOCUS 8206, Unix, Windows
November 15, 2017, 10:16 AM
RobertF
Not looking to substitute...just want the literal value:
TABLE FILE TBLMSTR_MESSAGES PRINT TBLMSTR_MESSAGES.TBLMSTR_MESSAGES.MESSAGE TBLMSTR_MESSAGES.TBLMSTR_MESSAGES.CONDSW NOPRINT ON TABLE SUBHEAD "This Report is specifically for the B&G Department" ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML
WebFOCUS 8206.08 Windows, All Outputs
November 15, 2017, 10:25 AM
RobertF
further...assuming I get the B&G literal in my title....I want the title to act as a link to PDF doc on our share. I have done this successfully before as shown below... but this time its erroring out because the one folder name has a 'space' in it's name and perhaps because the next folder has an '&'..anyone know the syntax to get this to work?
TABLE FILE TBLMSTR_MESSAGES PRINT TBLMSTR_MESSAGES.TBLMSTR_MESSAGES.MESSAGE TBLMSTR_MESSAGES.TBLMSTR_MESSAGES.CONDSW NOPRINT ON TABLE SUBHEAD "This Report is specifically for the XXX Department. Click Here for Dept Head List" ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ TYPE=REPORT, TARGET='_blank', URL=X:\Main\my reports\D&H\DeptHeadlst.PDF, $ ENDSTYLE END
ON TABLE SUBHEAD "This Report is specifically for the B&|G Department"
You need a pipe between the & and G.
TABLE FILE CAR
BY COUNTRY
ON TABLE SUBHEAD
"This Report is specifically for the B&|G Department"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = warm,
$
TYPE=TABHEADING,
FOCEXEC=ibisamp/carinst( \
CONTRY=COUNTRY \
),
TARGET='_blank',
$
ENDSTYLE
END