December 02, 2010, 03:04 PM
PrasadDrill down on an image [code]
Hello Folks,
I have two images on my report. one is an excel icon and other is a pdf icon. These reports are drilldowns to run the same report in excel or pdf format. I have the report written below. After i moved the postition of the images to the location i wanted. There always exists a small line or a dot which is again always a link. Can u please help me with this..
-SET &ECHO=ALL;
TABLE FILE CAR
PRINT
'CAR.ORIGIN.COUNTRY'
'CAR.COMP.CAR'
'CAR.CARREC.MODEL'
'CAR.BODY.BODYTYPE'
'CAR.BODY.SEATS'
'CAR.BODY.DEALER_COST'
'CAR.BODY.RETAIL_COST'
'CAR.BODY.SALES'
'CAR.SPECS.LENGTH'
'CAR.SPECS.WIDTH'
'CAR.SPECS.HEIGHT'
'CAR.SPECS.WEIGHT'
'CAR.SPECS.WHEELBASE'
'CAR.SPECS.FUEL_CAP'
'CAR.SPECS.BHP'
'CAR.SPECS.RPM'
'CAR.SPECS.MPG'
'CAR.SPECS.ACCEL'
'CAR.WARANT.WARRANTY'
'CAR.EQUIP.STANDARD'
HEADING
" "
" "
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
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,
$
TYPE=REPORT,
IMAGE=APP/MS_EXCEL_ICON.GIF,
POSITION=(+5.000000 +0.000000),
TARGET='_blank',
FOCEXEC=app/carexl.fex,
$
TYPE=REPORT,
IMAGE=app/pdf_icon.gif,
POSITION=(+5.500000 +0.000000),
TARGET='_blank',
FOCEXEC=app/carpdf.fex,
$
ENDSTYLE
END
-EXIT
December 02, 2010, 03:55 PM
WazYou can either change the POSITION from relative, (+nnn +nnn) to absolute (nnn nnn) or change the TYPE=REPORT to TYPE=HEADING or something else, for the images.
December 02, 2010, 04:56 PM
PrasadAfter changing the position.
On the left top corner there exists a small dot or a blue line which also acts as a link.
How do i get rid of that.
If we actually run the report you can see the small dot or a small blue line...
December 02, 2010, 05:08 PM
Wazwhat does the code look like now ?
December 02, 2010, 05:46 PM
PrasadI replaced TYPE=HEADING instead of TYPE=REPORT and this solved the problem. Now i dont see that dot. Thank you very much.
Is there a reason why this dot appears when we use TYPE=REPORT,
December 02, 2010, 05:53 PM
WazWhen you made the change with TYPE=REPORT, did you remove the + from the position ?