Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you have any questions or need access: Contact myibi@ibi.com


Connect to myibi

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subhead Formatting
 Login/Join
 
Platinum Member
posted
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?
 
Posts: 178 | Registered: May 11, 2005Report This Post
<JG>
posted
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
 
Report This Post
Platinum Member
posted Hide Post
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.
 
Posts: 178 | Registered: May 11, 2005Report This Post
Guru
posted Hide Post
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.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
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!!!
 
Posts: 178 | Registered: May 11, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders