As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
-SET &SPAC2=' ';
-SET &SPAC3=' ';
-SET &VALUE='HII';
DEFINE FILE CAR
SPACCOL2/A20 = '&SPAC2&VALUE';
SPACCOL3/A20 = '&SPAC3&VALUE';
END
TABLE FILE CAR
PRINT
CAR
SPACCOL2 AS 'COL1'
SPACCOL3 AS 'COL2'
ON TABLE PCHOLD FORMAT PDF
END
-EXIT
I am having a logic where in I need to add leading spaces to the data, in few columns. To show some Hierarchial stuff difference.
The code above works fine with PDF format. Where in, Excel the spaces are not added to the data. How to go about this ?This message has been edited. Last edited by: Ramkumar - Webfous,
Thanks,
Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
DEFINE FILE CAR
CTR/I2 WITH CAR = CTR + 1;
SPACES/A40 WITH CAR = ' ';
CARNAME/A40 = OVRLAY(SPACES, 40, CAR, 20, CTR*2, CARNAME);
END
TABLE FILE CAR
PRINT
CARNAME
ON TABLE SET SHOWBLANKS ON
ON TABLE PCHOLD FORMAT HTML
END
Arrrgh, I really needed something like this a while ago ... oh well, now I know better.