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.
Does any one know how to print the check mark symbol on a report. I can printed the currency symbol and copyright symbol, we now need the check mark symbolThis message has been edited. Last edited by: Kerry,
Posts: 61 | Location: New York City | Registered: July 20, 2006
The check mark symbol is not available in normal character fonts, but it is in Wingdings 2. This works for HTML but not for PDF:
TABLE FILE CAR
PRINT
COUNTRY
COMPUTE CHECK1/A1 = 'P';
COMPUTE CHECK2/A1 = 'R';
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=CHECK1, FONT='Wingdings 2', $
TYPE=DATA, COLUMN=CHECK2, FONT='Wingdings 2', $
ENDSTYLE
-*ON TABLE PCHOLD FORMAT PDF
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
WebFOCUS Server 8.1.05 Windows 2008 Server WebFOCUS AppStudio 8.1.05 Windows 7 Professional IE 11 and Chrome Version 43.0.2357.124 m. Mostly HTML, PDF, Excel, and AHTML
Try this. Will work for PDF and HTML. You have to code for both. The stylesheet use of zapgfdingbats is ignored by HTML format and the COMPUTED use of Wingdings 2 is ignored by PDF format. EXL2K, AHTML, DHTML will also get a checkmark using the Wingdings 2 code.
-SET &FORMAT='PDF';
TABLE FILE CAR
SUM
COMPUTE CHECK/A70=IF '&FORMAT' EQ 'PDF'
THEN '3'
ELSE '<font size="4" color="GREEN" face="wingdings 2"> &|#80 </font>';
BY COUNTRY
ON TABLE PCHOLD FORMAT &FORMAT
ON TABLE SET STYLE *
TYPE=REPORT, GRID = OFF, SQUEEZE=ON,$
TYPE=DATA, COLUMN=N2,COLOR=BLUE,SIZE=15, FONT='zapfdingbats', $
ENDSTYLE
END
In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle
Originally posted by DavSmith: Try this. Will work for PDF and HTML. You have to code for both. The stylesheet use of zapgfdingbats is ignored by HTML format and the COMPUTED use of Wingdings 2 is ignored by PDF format. EXL2K, AHTML, DHTML will also get a checkmark using the Wingdings 2 code.
Thanks the code works for us
Posts: 61 | Location: New York City | Registered: July 20, 2006
Hi Nordin, Nice suggestion. You are using image ".png" files to generate the checkmark. While it will work, there is certainly more effort in maintaining and modifying code when dealing with images. I try and avoid images whenever possible. Case in point, I can't see the images you attached as part of your code samples here. You may also want to delete 2 of your posts since you have 3 posts with the same info.
In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle
Originally posted by DavSmith: J, my pleasure. I appreciate the feedback.
Hi Nordin, Nice suggestion. You are using image ".png" files to generate the checkmark. While it will work, there is certainly more effort in maintaining and modifying code when dealing with images. I try and avoid images whenever possible. Case in point, I can't see the images you attached as part of your code samples here. You may also want to delete 2 of your posts since you have 3 posts with the same info.
Thanx, I tried 2 edit the post so you don't have the "can't find image" symbol. But somehow ended having three posts.
About using images. The reason we use it because one, you can be very creative in what you display. Second you can choos HQ images instead of LQ featured symbols.
7.7.03 OS is Windows 7 We create al sorts of outputs depending on the demand, HTML (most cases), Excel (some cases) and PDF (some cases)
Posts: 32 | Location: Utrecht, Holland | Registered: December 10, 2008