For TABLE FILE CAR SUM CAR OVER ACROSS MODEL BY COUNTRY END
i want a alias name for Over field i.e car i want to it to be like car (newcar) or car (newcar+guarantee')This message has been edited. Last edited by: Kerry,
WebFOCUS 7.69 Windows Excel, HTML, PDF,AHTML
December 07, 2009, 09:25 AM
GamP
Aditha,
Please be a bit more clear about what it is that you want or need to do. Your above description does not make sense to me, sorry!
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
December 07, 2009, 09:50 AM
adithya
i want the CAR in the OVER to display "CAR (newcar+guarantee)" as the name of the column instead of "CAR" when running the report.
WebFOCUS 7.69 Windows Excel, HTML, PDF,AHTML
December 07, 2009, 10:14 AM
GinnyJakes
Your focexec as written does not run. You might want to post one that does.
You can always use AS to change the column title of a column.
TABLE FILE CAR SUM CAR OVER AS 'CAR (ASN)' SALES OVER BY COUNTRY NOPRINT ACROSS MODEL BY COUNTRY END
WebFOCUS 7.69 Windows Excel, HTML, PDF,AHTML
December 07, 2009, 11:40 AM
Darin Lee
That would be a problem because that syntax is not valid. If you're not able to get the correct syntax, let the Report Painter do it for you until you're familiar with the code that gets created. If you just put the OVER after the AS phrase, you get a query that works, but I don't know if that's what you're looking for.
TABLE FILE CAR SUM CAR AS 'CAR (ASN)' OVER SALES BY COUNTRY NOPRINT ACROSS MODEL BY COUNTRY END
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat