Formatted HTML Report from Database

HTML Report

This application will show how to create a TXT file with HTML commands formatting data comming from a database.

The grid on the Screen will reflect the same data (filtered or not) to the report.

You can make changes to the HTML (to make it looks better) changing the Script 1.

I have also added the onload=window.print() to the body section of the html, so the user will be presented with the Print Dialog as soon as the Report is opened.

Reports are being saved on the WEB\Reports directory of the application.