Focal Point
placing an image

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

May 18, 2005, 10:39 AM
<bhoons>
placing an image
I need to place an image on every column title of a report.
May 18, 2005, 11:44 AM
<JG>
The following is a basic thechnique.
The ',,,,' in the AS name are very important in EXL2K format as they generate extra space for the images. They are not needed in html format.


-SET &IMG1='' ;
-SET &IMG2='' ;
TABLE FILE CAR

PRINT
MODEL AS '&IMG1.EVAL,,,,'
SEATS AS '&IMG2.EVAL,,,,'
BY
COUNTRY
ON TABLE NOTOTAL
END

This message has been edited. Last edited by: <Mabel>,
June 07, 2005, 12:48 PM
<bhoons>
Hi,
I tried with your soluion but,i need the column title with the image.I can't...
June 07, 2005, 01:47 PM
Francis Mariani
A slight variation on JG's solution:

SET &IMG1='';
-SET &IMG2='
';
TABLE FILE CAR
PRINT
MODEL AS '&IMG1.EVAL,,,,'
SEATS AS '&IMG2.EVAL,,,,'
BY
COUNTRY
ON TABLE NOTOTAL
END

This message has been edited. Last edited by: <Mabel>,
June 08, 2005, 04:43 AM
<bhoons>
Thank you francis. But i can get the imaga only. i have to display title like "Region" with upper and lower arrow images in one column title.
June 08, 2005, 04:57 AM
<bhoons>
How to place two small images with the single column heading
June 08, 2005, 04:58 AM
<bhoons>
How to place two small images with the single column heading
June 08, 2005, 07:59 AM
<JG>
All you have to do is add the title at the end of the AS.
The same principle allows you to add multiple images.


-SET &IMG1='' ;
-SET &IMG2='' ;
TABLE FILE CAR
PRINT MODEL AS '&IMG1.EVAL,,&IMG2.EVAL,,Model'
SEATS AS '&IMG2.EVAL,,,,Seats'
BY COUNTRY
ON TABLE NOTOTAL
END

This message has been edited. Last edited by: <Mabel>,
June 08, 2005, 10:08 AM
<bhoons>
Thank you JG.It is working but i can get single image only with the title
June 08, 2005, 11:36 AM
<JG>
Your graphic size is very important and the amount of space that you make available with the commas.

If you view source on the webpage then you will see if all the graphics are included and can adjust as required.
June 09, 2005, 06:50 AM
<bhoons>
Thanks
i can modify within the html file and it is working nice.But how can i implement the graphic size allocation for the images as well as the column title
June 09, 2005, 07:01 AM
<JG>
The size of the cell created is dependant on the width= in the define and the length of the column title.
Which ever is the longer decides the width.