HTML Table format is one of the formats in which you can choose to save data. When you save in HTML Table format, PowerBuilder saves a style sheet along with the data. If you use this format, you can open the saved file in a browser such as Internet Explorer. Once you have the file in HTML Table format, you can continue to enhance the file in HTML.
Some presentation styles translate better into HTML than others. The Tabular, Group, Freeform, Crosstab, and Grid presentation styles produce good results. The Composite, RichText, OLE 2.0, and Graph presentation styles and nested reports produce HTML tables based on the result set (data) only and not on the presentation style. DataWindows with overlapping controls in them might not produce the results you want.
To save a report as an HTML table:
Open a DataWindow object.
Open the Preview view if it is not already open.
Select File>Save Rows As from the menu bar.
Choose the HTML Table format for the file from the Save As Type drop-down list.
Name the file.
PowerBuilder creates a file using the name you supplied and the extension htm.
Open a Web browser.
Use the browser’s file open command to open the HTML file.
For more information about working with DataWindow objects and HTML, see the DataWindow Programmers Guide.