Focal Point
Subhead Formatting

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

May 15, 2005, 03:56 AM
slfmr
Subhead Formatting
Can I format a subhead the way a heading is formatted line by line?

I have 3 lines in the Subhead and I want the top one to be a different font as the others.

Is that possible?
May 15, 2005, 07:25 AM
<JG>
It's the same basic process except the TYPE is SUBHEAD

TABLE FILE CAR
PRINT MODEL
BY COUNTRY
ON COUNTRY SUBHEAD
"Line 1"
"Line 2"
"Line 3"
ON TABLE NOTOTAL
ON TABLE SET STYLE *
TYPE=SUBHEAD,
BY=COUNTRY,
LINE=1,
BACKCOLOR=BLUE,
$
TYPE=SUBHEAD,
BY=COUNTRY,
LINE=1,
OBJECT=TEXT,
COLOR=WHITE,
$
ENDSTYLE
END
May 15, 2005, 05:34 PM
slfmr
I did try:

TYPE=SUBHEAD,LINE=1,FONT=....

And that didn't work for me. What did end up working was:

TYPE=TABHEADING,LINE=1,SIZE=10,.....

Perhaps I did't try enough with the first option, but thank you for the reply... and if you even need a second option, the TABHEADING will style it.
May 16, 2005, 02:59 AM
Piipster
If TYPE=TABHEADING worked that means that you did a one time REPORT heading. Although the syntax uses the SUBHEAD keyword the ON TABLE part is important.

ON fieldname SUBHEAD is a subheading.
ON TABLE SUBHEAD is a report heading ... hence the TYPE=TABHEADING.
May 17, 2005, 07:12 PM
slfmr
Okay, so for a non-repeating report heading I should use ON TABLE SUBHEAD, and for a repeating one, just HEADING.

That makes sense... I was looking for a non-repeating report heading... but I also do use ON fieldname SUBHEAD else where so thanks to both of you for the help!!!