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.
for example COMPUTE Difference/D12.2 = Sales_June - Sales_May; AS '∆ 05 - 06'
in the fex I can code that, but after execution instead of ∆ a ? is shown in column title. Thanks for your help
Udo
I suspect some step (either while storing the fex file, or while reading it and stuffing it into FOCSTACK at run time) is mapping the source code onto a domain of just 256 bit combinations; the Greeks (in UNICODE source) get left out in the cold.
If my conjecture is right, styling will be of no help - by the time styling gets applied, ∆ is nowhere in sight.
I had a similar issue a while back, and was able to solve it only by breaking the text into multiple fields, styling the one to contain the delta using some wingding font, and stuffing the field with a plain old alpha character (in my source) that renders as ∆ under that font. -- But that idea cannot be applied to column-headings.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
You can achieve this in the main 3 output formats by setting the title font to symbol -
-SET &Delta = HEXBYT(68,'A1');
TABLE FILE GGSALES
SUM DOLLARS
COMPUTE Difference/D20.2 = BUDDOLLARS - DOLLARS; AS '&Delta 05 - 06'
BY STCD
ON TABLE PCHOLD FORMAT '&WFFMT.(HTML,PDF,EXL07).Format.'
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
grid=off, size=10, $
type=title, column=N3, font=Symbol, $
ENDSTYLE
END
-RUN
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Before anyone decides to point out that you could also use 'D 05 - 06' in this case, Yes, I know but this gives you an idea if you want use alternative symbols.
Just make sure that the font that you choose to use will correctly render all the characters that you need in the title!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Hey Tony, I get the delta symbol in PDF but HTML doesn't render in Chrome. When I try it in ie it shows the Delta. How do I check to see if the font is available in the browser?
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
Full legacy support of the Symbol font is provided by major modern web browsers like Internet Explorer and Google Chrome. That support involves a specific handling of Adobe's special encoding, which is not properly implemented in at least some versions of other browsers, including Opera, Safari and Firefox. Such browsers do not correctly render legacy HTML documents that make explicit use of the Symbol font.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Here is another interesting way to set the font in the title.
An extension of what Tony posted.
TABLE FILE GGSALES
SUM DOLLARS
COMPUTE Difference/D20.2 = BUDDOLLARS - DOLLARS; AS '<font face="symbol">D</font> <font face="Helvetica">A</font><font face="Palatino Linotype">B</font><font face="Impact">C</font><font face="Georgia">D</font>'
BY STCD
ON TABLE PCHOLD FORMAT '&WFFMT.(HTML,PDF,EXL07).Format.'
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
grid=off, size=10, $
-* type=title, column=N3, font=Symbol, $
MARKUP=ON, $
ENDSTYLE
END
-RUN