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.
Such a newbie question, but I can't seem to find the answer on my own...
I want to use the smiley symbol (Unicode 263A) within an excel column. I don't want to use a gif because this is going to be part of a text value in that column.
How do I do that? I know how to use HEXBYT to translate ASCII codes but I can't seem to find a similar function for Unicode translation?
Thank you all for your assistance.This message has been edited. Last edited by: Kerry,
TABLE FILE CAR
SUM
SALES
COMPUTE SMILEY/A1 =
IF SALES GT 15000 THEN 'J' ELSE
IF SALES GT 0 THEN 'K' ELSE 'L'; AS ''
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SMILEY, FONT='WINGDINGS', $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Even then Francis, thank you so much for sharing this awesome idea.
Goes to show the power of WF, limited only by user creativity !!!
Thanks so much, Sandeep Mamidenna
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006
Excited to also add that these SS lines will also take other comands to make the display a tad bit more interesting.
And while on the SMILEY column in excel, just try type in other characters like A,B,C to see their corresponding images.
Its worth repeating Francis, this is just awesome !!
TABLE FILE CAR
SUM
SALES
COMPUTE SMILEY/A1 =
IF SALES GT 15000 THEN 'J' ELSE
IF SALES GT 0 THEN 'K' ELSE 'L'; AS ''
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SMILEY, FONT='WINGDINGS', COLOR=RED, SIZE=16,STYLE=BOLD,WHEN=SALES EQ 0,$
TYPE=DATA, COLUMN=SMILEY, FONT='WINGDINGS', COLOR=BLUE, SIZE=16,STYLE=BOLD,WHEN=SALES LT 15000,$
TYPE=DATA, COLUMN=SMILEY, FONT='WINGDINGS', COLOR=GREEN, SIZE=16,STYLE=BOLD,WHEN=SALES GT 15000,$
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006
TABLE FILE CAR
SUM
COMPUTE SALESA/A6 = FTOA(SALES, '(D5)', 'A6'); NOPRINT
COMPUTE SPAN1/A38 = '<span style="font-family: Wingdings;">'; NOPRINT
COMPUTE SPAN2/A07 = '</span>'; NOPRINT
COMPUTE SMILEY/A01 =
IF SALES GT 15000 THEN 'J' ELSE
IF SALES GT 0 THEN 'K' ELSE 'L'; NOPRINT
COMPUTE SALES_SMILEY/A100 = SALESA | '&|nbsp;&|nbsp;' | SPAN1 | SMILEY | SPAN2; AS 'Sales'
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SALES_SMILEY, JUSTIFY=RIGHT, $
ENDSTYLE
ON TABLE HOLD FORMAT HTML
END
-RUN
SET HTMLFORMTYPE=XLS
-RUN
-HTMLFORM HOLD
Unfortunately, I haven't found any real documentation on HTMLFORMTYPE so I'm not sure if this will work when a lot of styling is applied, but I'd give it a try.
Now I'm off to lunch
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
But sometimes you need to get the job done, and using something that works now is the only way to do it, then perhaps you should. All depends on the priority and need.
I just did a search of tech support (Symptom and Solutions only) and found several about HTMLFORMTYPE.
One says
quote:
Yes, SET HTMLFORMTYPE=XLS is supported. It has been supported since version 5.3 of WebFOCUS. This allows you to use -HTMLFORM reports as an output setting. This is so you can use HTML output in Excel.
So I wouldn't say is not supported, just the extent it is supported.