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.
This is a example with the requirement exactly i am looking for and works fine for pdf.
How does this work for exl2k format...
DEFINE FILE CAR LOGO/A100=IF COUNTRY EQ 'ENGLAND' THEN 'D:\ibi\apps\ibisamp\SMPLOGO1.GIF' ELSE IF COUNTRY EQ 'ITALY' THEN 'D:\ibi\apps\ibisamp\HWCOT.GIF' ELSE 'D:\ibi\apps\ibisamp\SMPLOGO1.GIF'; END
TABLE FILE CAR SUM CAR COUNTRY BY LOGO ON TABLE SET HTMLCSS ON ON TABLE SET ONLINE-FMT PDF 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=N1, IMAGE=(LOGO),SIZE=(.5 .5),PRESERVERATIO=ON,$ ENDSTYLE END -EXITThis message has been edited. Last edited by: Kerry,
7.7.02, sql server Windows all output (Excel, HTML, PDF)
here is the code which displays in each row depending on the condition
-SET &&LOGO1 = 'D:\ibi\apps\ibisamp\SMPLOGO1.GIF';
-SET &&LOGO2 = 'D:\ibi\apps\ibisamp\HWCOT.GIF';
-SET &&LOGO3 = 'D:\ibi\apps\ibisamp\SMPLOGO1.GIF';
DEFINE FILE CAR
LOGO/A100= IF COUNTRY EQ 'ITALY' THEN '<img src="&&LOGO1.EVAL" border="0"></img>' ELSE
IF COUNTRY EQ 'ITALY' THEN '<img src="&&LOGO2.EVAL" border="0"></img>'
ELSE '<img src="&&LOGO3.EVAL" border="0"></img>';
END
TABLE FILE CAR
PRINT
CAR
COUNTRY
LOGO
ON TABLE SET HTMLCSS ON
ON TABLE SET ONLINE-FMT EXL2K
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=N1,$
ENDSTYLE
END
-EXIT
hope this helps.... Anmol.
WebFocus7.6.2, WebFocus 7.1.1,Windows HTML, PDF and Excel
It is not able to retrive the image insted it shows a small box with a red cross mark on it....
This is being joke? yes?
If you use code exact from Anmol and you no haf the image in exact place given, then image is being not found and you haf the "image not be found" icon.
You haf be coding yourself a little to show you understand - it be obviously that you not haf knowledge of image use in output and web.
Kofi
Client Server 8.1.05: Apache; Tomcat;Windows Server 2012 Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
Prasad, showing Cross red sign in the box means it is not able to locate the image file specified in the path check out that the specified images are available at the below path(location).
D:\ibi\apps\ibisamp\*.gif
Anmol
WebFocus7.6.2, WebFocus 7.1.1,Windows HTML, PDF and Excel