Focal Point
formatting a recompute on a by statement

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

January 31, 2006, 10:27 AM
Amy
formatting a recompute on a by statement
I need to make my words "total for" bold on a recompute row. Is there any code to enter in the stylesheet that can do this?
January 31, 2006, 12:53 PM
smiths
Perhaps you're looking for something like this...

TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY

ON COUNTRY RECOMPUTE SEATS AS 'Total for'

ON TABLE SET STYLE *
TYPE=SUBTOTAL, BY=COUNTRY, STYLE=BOLD, $

END


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
January 31, 2006, 02:36 PM
susannah
The TYPE=SUBTOTAL seems to bold the entire line.
At the other extreme:
ON COUNTRY RECOMPUTE SEATS AS 
'<B>Total for</B>'

is a klugy way to get just the Total for
Perhaps a style guru will come along and show how to reference an item in that subtotal line.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
January 31, 2006, 02:44 PM
Amy
Thank you both for your responses. I will pass on this information. I can see how both will work!