To display comma in COLUMN TITLE while displaying in HTML format.
book
Article ID: KB0071358
calendar_today
Updated On:
Products
Versions
ibi WebFOCUS
All versions
Description
- When there is a need to display comma between characters , the below code won't give the correct output. **************************************** TABLE FILE CAR PRINT CAR AS 'AUTO , MOBILE' BY COUNTRY ON TABLE PCHOLD FORMAT HTML END **************************************** - The above code will generate the below output :
Environment
Linux, Windows
Resolution
- Comma character is used to break the title in two lines but if we need to display a comma in the column titles, an escape character is used : &|#44; - Below is the correct code ****************************************** -SET &XTITLE = 'AUTO&|#44;MOBILE';
TABLE FILE CAR PRINT CAR AS &XTITLE BY COUNTRY ON TABLE PCHOLD FORMAT HTML END ******************************************
Issue/Introduction
Comma is used to break the title in two lines but if we need to display a comma in the column titles, an escape character is used.