You will need to be careful of the size of the combined comment field.
How many comments could there be, and waht size is the field. If you go over 4000 characters, the you will have a problem.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 09, 2010, 04:23 AM
LIEMBURG
DEFINE?
April 09, 2010, 05:32 AM
Dan Satchell
In lieu of a comments column in the CAR file, I used the STANDARD equipment column because there are multiple entries per car.
DEFINE FILE CAR
CNTRY_CAR/A26 = COUNTRY | CAR ;
COMMENT/A1000V = IF CNTRY_CAR NE LAST CNTRY_CAR THEN STANDARD ELSE ( LAST COMMENT | ' ' | STANDARD );
END
-*
TABLE FILE CAR
SUM LST.COMMENT AS 'COMMENTS'
BY COUNTRY
BY CAR
-* BY STANDARD
END
WebFOCUS 7.7.05
April 09, 2010, 06:50 AM
Kofi
It need have data all sorted using define else use compute?
Kofi
Client Server 8.1.05: Apache; Tomcat;Windows Server 2012 Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
April 09, 2010, 10:34 AM
JJ
Thank you to all of you for your replies. I used Dan's method which is perfectly matched with my requirement.