Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to insert image in report records

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to insert image in report records
 Login/Join
 
<rsaini>
posted
In a report I want to compare the sales figure of two quarters and display the result as upArrow if current sales is higher and downArrow if sales is less. How to put the uparrow and downarrow image in report against records.

I am new to webFocus please suggest
 
Report This Post
Guru
posted Hide Post
What is your output? The reason I ask this is becasue displaying images HTML and EXL2K are different then PDF.

Do something like this for HTML and EXL2K:
COMPUTE IMAGE/A20 = IF SALES LE 5000 THEN '<img src="down.jpg">' ELSE '<img src="up.jpg">';

Image in the body of a report in PDF cannot be done. The only way I've seen this done before was by using a wingding font.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
<rsaini>
posted
Thanks a lot CurtisA, It workout.. Smiler
 
Report This Post
Silver Member
posted Hide Post
Hi there!
I don't know how to work with symbols (e.g. wingding) in a PDF. can someone explain it to me ;-)
i would like to do someting like:

TENDENZ_M/A1 = 	IF UNTERDECKUNG EQ UNTERDECKUNG_M THEN '=' ELSE
				IF UNTERDECKUNG LT UNTERDECKUNG_M THEN '^' ELSE
				IF UNTERDECKUNG GT UNTERDECKUNG_M THEN 'v' ELSE 'o';

and instead of "=", "v" ... i would like wingding symbols...

please help!! :-)


WF 711 - Win2000 - PDF, EXL2K - HTML
 
Posts: 30 | Registered: September 22, 2003Report This Post
Expert
posted Hide Post
wingding is a font




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
Hi Ernst, Here is a sample with the famous CAR file.

TABLE FILE CAR
PRINT
CAR AS 'Car'
COMPUTE IMAGE/A20 = IF COUNTRY EQ 'ENGLAND' THEN 'J' ELSE 'L' ; AS 'Symbol'
BY
COUNTRY AS 'Country'
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
COLUMN=N3,
FONT='WINGDINGS',
$
TYPE=TITLE,
COLUMN=N3,
FONT='TIMES NEW ROMAN',
$
ENDSTYLE
END


Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
Silver Member
posted Hide Post
Thank you very much!!!! ...at least it showed me the right direction ;-)

here is my working code (parts of it..)
i used the font "symbol" instead of wingdings. PDF didn't like that font ;-)

TENDENZ_M/A1 = 	IF UNTERDECKUNG EQ UNTERDECKUNG_M THEN 'Û' ELSE
				IF UNTERDECKUNG LT UNTERDECKUNG_M THEN 'Ý' ELSE
				IF UNTERDECKUNG GT UNTERDECKUNG_M THEN 'ß' ELSE ' ';
....  
TYPE=REPORT, COLUMN=TENDENZ_M,			POSITION=18.6,	FONT='SYMBOL', $

Û .... = ... equal
Ý .... ^ ... arrow up
ß .... v ... arrow down


WF 711 - Win2000 - PDF, EXL2K - HTML
 
Posts: 30 | Registered: September 22, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to insert image in report records

Copyright © 1996-2020 Information Builders