Focal Point
Heading................

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

December 18, 2006, 09:15 AM
kalyanswarna
Heading................
Hi All,
i have one problem with my heading. i want to put page break for BY field, for each field i want to put the BY filed value as a Heading.

could you please give me the suggestions ...

Thanks,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
December 18, 2006, 09:22 AM
Leah
As you have a page break on the by field you can put it in the report heading with a spotmarker:
Heading
"This is my field


Leah
December 18, 2006, 09:24 AM
Leah
Oh and I forget when you put the less than symbol in the post it doesn't show. so

Heading
"This is my field "less than symbol" fieldname.

Sorry, my brain just does not seem to maintain the way to let this forum know you have code.


Leah
December 18, 2006, 09:43 AM
kalyanswarna
I tried this is not working for me because for each page break the heading should change as per BY field.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
December 18, 2006, 09:51 AM
Prarie
Try SUBHEAD
By FIELD
ON FIELD SUBHEAD

Then Use Leah's instructions.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Leah, just put your code between code tags

ON myfield SUBHEAD
" THIS IS MY HEADING FOR <myfield "





In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Thanks Susannah


Leah
Is this what you are trying to do?

DEFINE FILE CAR
HEADTEXT/A100=DECODE COUNTRY(
'ENGLAND' 'Make sure you use proper English.'
'JAPAN' 'This needs to be written in Japanese.'
'W GERMANY' 'What was that word from the VW commercials?'
'ITALY' 'Now these cars are very fun.'
ELSE 'Where did this come from? Do these exist anymore?');
END
TABLE FILE CAR
HEADING
"CARS FROM <COUNTRY </1"
"<HEADTEXT </1"
PRINT CAR MODEL BODYTYPE
BY COUNTRY PAGE-BREAK
ON TABLE PCHOLD FORMAT PDF
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
Good One
farfignewton ?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID