WebFOCUS Online Help > ReportCaster Development and Administration > Tips and Techniques for Coding a ReportCaster Report > Using -HTMLFORM
In the deployment environment, the -HTMLFORM command enhances the functionality of your Web page by enabling you to include HTML commands in your procedures. You can use all standard HTML elements in your Web page, including character styling, hyperlinks, graph images, tables, forms, and frames. The content must be self-contained in a single answer set.
TABLE FILE CENTORD SUM LINEPRICE BY PRODCAT AS 'Product Category' HEADING " " " " ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE SET ONLINE-FMT HTML ON TABLE SET STYLE * ..... ..... ENDSTYLE
ON TABLE HOLD AS HOLD1 FORMAT HTMTABLE END TABLE FILE CENTORD SUM LINEPRICE AS 'Sales' BY STORE_CODE AS 'Store' BY PRODCAT AS 'Category' WHERE STORE_CODE EQ '4003NY' OR STORE_CODE EQ '1003CA' HEADING " " " " ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE SET ONLINE-FMT HTML ON TABLE SET STYLE * ..... ..... ENDSTYLE
ON TABLE HOLD AS HOLD2 FORMAT HTMTABLE END -HTMLFORM SALES
After you have used the -HTMLFORM command to save two tabular reports in an HTML form, as shown in the following image, the HTML form can be distributed by ReportCaster.
WebFOCUS |