April 18, 2006, 04:19 PM
Pam KrattI got the following error
(FOC258) FIELDNAME OR COMPUTATIONAL ELEMENT NOT RECOGNIZED: TABPAGENO
0 NUMBER OF RECORDS IN TABLE= 19 LINES= 1
0 ERROR AT OR NEAR LINE 745 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC002) A WORD IS NOT RECOGNIZED: WHEN
This is the heading code:
HEADING
"WELLS FARGO"
"&TITLE1 <40>General Reporting"
"By Industry Class<40>&DATEHEAD"
"&COMPANYID <40>&DATEDISP"
" "
-IF &XACCOUNT NE 'ACTGRP' THEN GOTO PDF11
"ACCOUNT GROUP:<+1> &TITLE2 <0X
&TITLE3"
-GOTO PDF21
-PDF11
"ACCOUNT:<+1> &TITLE2 <0X
&TITLE3"
-PDF21
WHEN TABPAGENO GT 1
April 18, 2006, 04:36 PM
PrarieThat may only work with Subfoot and Subhead...I'm sorry.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
April 19, 2006, 09:11 AM
KameshThis one works,
TABLE FILE CAR
PRINT CAR MODEL BODYTYPE
BY COUNTRY
ON TABLE HOLD AS TEST
END
-RUN
DEFINE FILE TEST
CNT/I2=IF COUNTRY EQ LAST COUNTRY THEN CNT ELSE CNT +1;
END
TABLE FILE TEST
HEADING
"TEST"
PRINT CAR MODEL BODYTYPE
CNT
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=HEADING,COLOR=WHITE,WHEN=CNT EQ 1,$
ENDSTYLE
END
WFConsultant
WF 8105M on Win7/Tomcat
April 19, 2006, 12:56 PM
Pam Krattthe color=white did work. I had thought of this a couple of days ago but didn't think it would work because I have 5 or 6 lines for my heading and I thought it would be too much of a gap. Instead, I reduced the amount of room for my graph so that there is not a lot of blank space. Thanks for the suggestion.
webfocus 8.105M; os: windows; pdf, html, exl2k, csv
April 19, 2006, 04:50 PM
PrarieYes I thought of that too...glad you got it to work..
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |