Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Title BOLD Variable after break with ,
Go
New
Search
Notify
Tools
Reply
  
[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, 2017Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2100 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport 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: 760 | Registered: April 23, 2003Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2100 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport 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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6069 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport 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, 2017Reply With QuoteReport 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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6069 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport 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, 2017Reply With QuoteReport This Post
Silver 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: 42 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport 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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6069 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Silver 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: 42 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport 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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6069 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Silver Member
posted Hide Post
Never noticed that. Thanks Waz


WebFOCUS 8

Windows, All Outputs
 
Posts: 42 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.