Focal Point
Adding Data Elements in the Title

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

September 03, 2003, 08:05 PM
<Kristy>
Adding Data Elements in the Title
I've just started using WebFocus Dev Studio and I am just trying learn the tool. I want to put a data element in a title. The report is sorted by date and client code where client code is 123. I want the title to say "Report for Client Code 123". It works fine until the report goes to the second and third pages and on the title other than the first page, it resolves to some bogus number and says "Report for Client Code 2800". ??
September 03, 2003, 08:53 PM
<NIVAS>
Hi
this is sample one of car master file
I sorted this fex by model,Look at this sample code
if u still unable to get it post your sample fex


TABLE FILE CAR
PRINT
BODYTYPE
SEATS

BY
MODEL

ON MODEL PAGE-BREAK
HEADING
"Report by " "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='SCREEN',
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR=BLACK,
BACKCOLOR=NONE,
STYLE=NORMAL,
$
ENDSTYLE
END
September 03, 2003, 11:00 PM
<Kristy>
Thanks for the tip. This still did not work for my. Here's my fex:
TABLE FILE VIEWACCOUNTS
SUM
PLACEMENT_AMT
BY
ACCTGRPNO
BY
MO_YR_PLC

ON ACCTGRPNO PAGE-BREAK
HEADING
"REPORT FOR END

Thanks!
September 04, 2003, 12:50 AM
<NIVAS>
HI
WHEN I LOOK AT YOUR FEX THERE IS NO DATA ELEMENT IN THE HAEDER
IN YOUR FEX ADD UNDER HAEDING
REPORT FOR END
September 04, 2003, 12:52 AM
<NIVAS>
HI
I AM SORRY I AM TRYING TO UT MY ENTIRE FEX WHICH IS WORKIN FINE HERE BUT IT IS DELETING PART OF THE CODE
September 04, 2003, 02:08 PM
<Kristy>
There is ACCTGRPNO in my heading. For some reason it's cutting off my code.
September 04, 2003, 03:35 PM
<monte2000>
I changed the settings of this forum so your code shouldn't be cut off anymore. My apologies. Cool
September 04, 2003, 05:12 PM
<NIVAS>
hey try this this shd work for u

TABLE FILE LEDGER
SUM
AMOUNT

BY
YEAR
BY
ACCOUNT

ON YEAR PAGE-BREAK
HEADING
"Report by <YEAR "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='SCREEN',
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR=BLACK,
BACKCOLOR=NONE,
STYLE=NORMAL,
$
ENDSTYLE
END
September 04, 2003, 07:12 PM
<Kristy>
Thanks! That worked.