Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

title for a report

Status
Not open for further replies.
Apr 28, 2003
35
IN
I need to know how to get a title like this

(Company logo as image)Report Name
(Company logo as image)Run date

i have a image of my company as logo and then adjacent to that i need report title 1 and 2 .
 
Hi Siddhamalli,

You can do that with style sheet information. Insert this before the END of your report:

[tt]
ON TABLE SET STYLE *
TYPE=HEADING, IMAGE=http:://servername/image.gif, IMAGEALIGN=LEFT, $
ENDSTYLE
[/tt]

And this is how your HEADING should be defined:
[tt]
HEADING
"Report name"
"Run date"
[/tt]

Eva
 
Eva,
Thanks for the reply eva , but the thing is the code what you have given is very normal .like it will get the title 1 and 2 below the image and not adjacent to the image , can you just see if its possible to brig it adjacent to the image .
 
Hi Siddhamalli,

[tt]
ON TABLE SET STYLE *
TYPE=HEADING, IMAGE=http:://servername/image.gif, IMAGEALIGN=LEFT, IMAGEBREAK=OFF, $
ENDSTYLE
[/tt]

This should do it. It's amazing, because IMAGEBREAK=OFF should be the default value. I tried it myself with IMAGEALIGN=RIGHT and then there's no linebreak.

Eva
 
HI THIS IS THE CODE I HAVE
TABLE FILE AIM_REGION
HEADING
"Report name"
"Run date"
PRINT *
ON TABLE SET STYLE *
TYPE=HEADING, IMAGE= IMAGEALIGN=LEFT, IMAGEBREAK=OFF, $
ENDSTYLE
END

ITS APPEARING AS THE IMAGE THEN THE REPORT NAME
AND THE RUN DATE IS COMING DOWN THE IMAGE .
thank you
can you go thru this .
 
Hi Siddhamalli,

This is annoying, because it should work fine. I don't know why it doesn't work so maybe you want to use a trick. Here's my suggestion:

[tt]
-HTMLFORM BEGIN
<table>
<tr>
<td>Report name<br>Run date</td>
<td>
<img src=&quot; </td>
</tr>
</table>
-HTMLFORM END
[/tt]

You can even use WebFocus variables within this code. Just wirte &REPORT_NAME instead of the string above.

Maybe somebody else knows why the WebFocus code doesn't work?

Best wishes
Eva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top