[CLOSED]How to print the diamond with the question mark symbol
Does any one know how to print the diamond with the question mark symbol in the report. I was able to get the box with the checkmark inside symbol and the box with the cross inside symbol, we now need diamond with the question mark symbol.
This is the sample code which I have used :
TABLE FILE CAR
PRINT
COMPUTE UP/A1 = 'Q';
COMPUTE DOWN/A1 = 'R';
COMPUTE DIAMOND/A1='ยด';
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=UP, FONT='Wingdings 2',COLOR=RED,STYLE=BOLD, $
TYPE=DATA, COLUMN=DOWN, FONT='Wingdings 2', COLOR=GREEN,STYLE=BOLD, $
TYPE=DATA, COLUMN=DIAMOND, FONT='Wingdings', COLOR=GREEN,STYLE=BOLD, $
ENDSTYLE
END
-EXIT
Iam using '`' symbol to get it printed but it is not working. Any help would be greatly appreciated. Thanks a lot in advance!
Regards, IPThis message has been edited. Last edited by: info4pal,
I think that it may be a question of server setting and/or code page because I have two different results depending on which server I'm running your code
All fine under 7705
X and check mark not shown under 8105
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
September 23, 2016, 07:50 AM
info4pal
Hi Martin,
Thanks for your quick response. Iam using 8105 version - Dev studio and the checkmark and the X symbols are getting displayed but could you or anyone please let me know how to display the diamond with the question mark inside symbol .
I did another test under 8105 where a create a fex then executed from the portal and I have all the images displayed properly as off under 7705.
First time when I ran it under 8105 I was running it from a remote server. When I run from my own computer, no matter the version I use (7705 or 8105), all images are displayed properly.
So I really think that is related to computer code page and I don't think that there is a simple solution since each computer could have a different code page.
My suggestion is to create each image and save them on the server. Then reference them in the code as an included image. This way you won't bother of the code page.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
September 23, 2016, 09:21 AM
info4pal
Hi Martin,
Thanks a lot for your suggestion. It makes sense but just wanted to know if there is any alphabet or numeral I can use to in wingdings 2 font to get the diamond with the question mark symbol within it.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
September 23, 2016, 01:15 PM
j.gross
Why would this depend on the code page?
If (as it appears from the posted code) the report is presented to the browser in HTML format, then the code-page should be irrelevant -- capital Q and R have the same bit code regardless, and it's up to the browser to find and apply the specified font to the Q and R.
OTOH, if the FORMAT were PDF, it's still Q and R, but the binding to the font would be embedded in the PDF file, so the result would depend on the availability of the specified fonts on the back end.