Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Need to have an & as part of report title
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Need to have an & as part of report title
 Login/Join
 
Master
posted
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
 
Posts: 569 | Registered: June 28, 2013Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1785 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 569 | Registered: June 28, 2013Reply With QuoteReport This Post
Master
posted Hide Post
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


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 569 | Registered: June 28, 2013Reply With QuoteReport This Post
Guru
posted Hide Post
Did you try quote or double quote around the URL?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 416 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
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
 


WebFOCUS 8206, Unix, Windows
 
Posts: 1785 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Master
posted Hide Post
quote:
TYPE=REPORT, TARGET='_blank', URL=X:\Main\my reports\D&H\DeptHeadlst.PDF,$

Pipe Worked!

Any idea how the syntax for the hyperlink:
TYPE=REPORT,
TARGET='_blank',
URL=X:\Main\my reports\D&H\DeptHeadlst.PDF,
$


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 569 | Registered: June 28, 2013Reply With QuoteReport This Post
Guru
posted Hide Post
quote:
TYPE=REPORT,
TARGET='_blank',
URL=X:\Main\my reports\D&H\DeptHeadlst.PDF,
$


COMPUTE URLTXT/A150='X:\Main\my reports\D&|H\DeptHeadlst.PDF';
..........
TYPE=REPORT,
TARGET='_blank',
URL=(URLTXT),
$


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 416 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Need to have an & as part of report title

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.