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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Title BOLD Variable after break with ,

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Title BOLD Variable after break with ,
 Login/Join
 
Platinum Member
posted
Hi,

I've got a title, where I Need to style one part bold.

Did it, but in that part my Title got a , sothat it's in the next Line.


-DEFAULTH &FONDSAUSWEIS_FETT=' ';
TABLE FILE SQLOUT
PRINT
COMPUTE FONDAUSWEIS_FETT/A200 = '' || STR2 || ''; AS 'FONDSAUSWEIS_FETT'
WHERE STR1 EQ 'FONDSAUSWEIS';
ON TABLE HOLD AS H_FONDSAUSWEIS_FETT FORMAT SQL_SCRIPT
END
-RUN
-READFILE H_FONDSAUSWEIS_FETT
-CLOSE H_FONDSAUSWEIS_FETT
-RUN
...

BY LEER AS '&DISCL_FSP ,,&FONDSAUSWEIS_FETT'
...

TYPE=TITLE, STYLE=NORMAL, FONT=&FONT, SIZE=11, JUSTIFY=LEFT, BORDER-TOP=LIGHT, BORDER-COLOR=WHITE, MARKUP=ON,$


where &FONDAUSWEIS_FETT is something like "blabla1, blabla2"

The blabla2 is not bold, and I don't know how to Change.

The Problem is, that &DISCL_FSP is not supposed to be bold

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Virtuoso
posted Hide Post
You cannot style differently a column title based on the displayed line.
A column title it's one element that can be styled one way only,
The use of the coma only produce a carriage return/line feed, not two elements (first line, second line) that can be referenced

But you can maybe use the SUBHEAD instead of column TITLE


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Master
posted Hide Post
Try something like...?
TABLE FILE CAR
PRINT CAR AS 'Ford has a, <b> BOLDER </b> Idea'
END

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
TABLE FILE CAR
PRINT CAR AS 'Ford has a, [b] BOLDER [/b] Idea'
END

Good One


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Expert
posted Hide Post
You can also use MARKUP to style items on the report.

RE: [SOLVED] Formatting bits of text in output formats


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
already did, but when there is a break within the Bold area, the part after the break is normal again.

that's the Problem.

... part which has to be bold, not bold anymore


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Expert
posted Hide Post
Does this work for you ?, it bolds the first and second line of the title.

TABLE FILE CAR
PRINT COUNTRY AS '<b>My,Country</b>,Title'
ON TABLE SET STYLE *
MARKUP=ON, $
END



Can you supply a working example with one of the sample files ?

This message has been edited. Last edited by: Waz,


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
quote:
TABLE FILE CAR
PRINT COUNTRY AS 'My,Country,Title'
ON TABLE SET STYLE *
MARKUP=ON, $
END


ACTUALLY it doesn't work at al, I'm in Version 8.204

I think there hast to be <> instead of [] anyway


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Gold member
posted Hide Post
This worked for me.

TABLE FILE CAR
PRINT COUNTRY AS 'My,Country,Title'
ON TABLE SET STYLE *
MARKUP=ON, $
END


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Report This Post
Expert
posted Hide Post
quote:
I think there hast to be <> instead of [] anyway



Either I posted [] or Focalpoint changed it.

Should have been <>


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
I think my code I posted got transformed. I added spaces and double quotes to avoid any transformations.

PRINT COUNTRY AS 'My, "<" b ">" Country "<" "/" b ">",Title'


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Report This Post
Expert
posted Hide Post
When you post code, please use the code tags, top right in the options bar.

</>


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Never noticed that. Thanks Waz


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Title BOLD Variable after break with ,

Copyright © 1996-2020 Information Builders