Focal Point
[SOLVED] PDF Image error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/217100754

June 03, 2010, 03:29 AM
Sim Na
[SOLVED] PDF Image error
I am getting error like

DEFINE FILE CAR
R_Dot/BLOB='G_Dot/BLOB='

My_Dot/BLOB=IF RETAIL_COST GE 8000 THEN G_Dot ELSE R_Dot;
END

TABLE FILE CAR
PRINT
COUNTRY
CAR
RETAIL_COST
DEALER_COST
My_Dot
ON TABLE PCHOLD FORMAT PDF
END

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.9
Essbase 6.5
Windows Server 2003
HTML,PDF,Excel
June 03, 2010, 04:31 AM
Ram Prasad E
please post your code between "CODE" tags. Use square brackets instead of angle brackets.

This message has been edited. Last edited by: Ram Prasad E,


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
June 03, 2010, 05:22 AM
Sim Na
when I apply the output format as PDF, I am getting error like "
 <img src="r.jpg" 
" .


 DEFINE FILE CAR
R_Dot/BLOB='<img src="r.jpg"';
G_Dot/BLOB='<img src="g.jpg"';


My_Dot/BLOB=IF RETAIL_COST GE 8000 THEN G_Dot ELSE R_Dot;
END

TABLE FILE CAR
PRINT
COUNTRY
CAR
RETAIL_COST
DEALER_COST
My_Dot
ON TABLE PCHOLD FORMAT PDF
END 

This message has been edited. Last edited by: Sim Na,


WebFOCUS 7.6.9
Essbase 6.5
Windows Server 2003
HTML,PDF,Excel
June 03, 2010, 05:29 AM
Tony A
This basic error (both posting code on the board and PDF image error) has been covered many times before.

Use the link in the top right of this page and search on PDF Image and you should be presented with a list of previous posts.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
June 04, 2010, 12:48 AM
Sim Na
Thank you Tony


WebFOCUS 7.6.9
Essbase 6.5
Windows Server 2003
HTML,PDF,Excel
June 04, 2010, 03:04 AM
Tony A
Well done on getting the [ code] and [/code] tags sorted.

The problem you have with your images is that PDF does not accept HTML tags which is what you appear to be attempting.

There are a couple of things of which you need to be aware on image location -

If you remember these rules then you shouldn't go wrong.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10