Is it possible to have multiple PRINT's on TABALE FILE based on where condition?
If yes, could you please give me sample?
Thank YouThis message has been edited. Last edited by: <Kathryn Henning>,
WEBFOCUS 8202/Windows PDF/HTML/XML
February 04, 2014, 03:32 PM
Francis Mariani
A multi-verb request (manual: Multiple Display Commands):
TABLE FILE CAR
SUM SEATS
BY COUNTRY
SUM WEIGHT
BY COUNTRY
PRINT LENGTH
BY COUNTRY
BY CAR
END
Less useful, three PRINT from one TABLE:
TABLE FILE CAR
PRINT SEATS
BY COUNTRY
RUN
PRINT WEIGHT
BY CAR
RUN
PRINT LENGTH
BY COUNTRY
BY CAR
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 04, 2014, 03:35 PM
Sandhya j
Thank Francis,
Can I put when condition as well?
Thank You SandhyaThis message has been edited. Last edited by: Sandhya j,
February 04, 2014, 03:36 PM
Waz
Can you give an example of what you are after ?
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!
February 04, 2014, 03:45 PM
Sandhya j
WAZ,
I have 2 different sets of data and what Iam trying to do is, first Iam trying to put one type of data as one table and then other as new different table in the report. hope you understand my explanation
Thank You SandhyaThis message has been edited. Last edited by: Sandhya j,
February 04, 2014, 04:59 PM
njsden
Sounds like a case for MORE or FILEDEF (APPEND. Check it out.
Or, if it is two different sets of data that result in two different tables in one report ... I think that is what you said ... then it sounds like a COMPOUND report.
Compound reports combine multiple reports into a single file. This enables you to concatenate reports with styled formats (such as PDF, DHTML, PS, EXL2K, or EXL07). You can also embed image files, including graphs saved as images, in a compound report.
See the "Creating a Compound Report" section in the "Creating Reports With WebFOCUS Language" manual for more info.