Microsoft Excel Report Tool

How to output report to Microsoft Excel

XLReportGen is simple and easy to use. It does not require programming to create reports. It is enough if you know how to use Microsoft ® Excel ® and write SQL statements. To output report to Excel using XLReportGen, it requires only three steps:

Step 1

Create a report template file using Microsoft Excel, define the layouts, styles, formats of reports.

For example, to create a Customer List report, you make a report template as follows.

make an excel report template using microsoft excel

Step 2

Create an XRF file with an .xrf extension using XLReportGen. The XRF file tell XLReportGen how to extract data from database, and where and how to put data.

For example, you create an XRF file, and write a report function and SQL as follows.

/* Customer List */
@F1=Report(sheet="Customer List" type=var cell=A6 reserve=2)
SELECT CompanyName
FROM Customers, Cities, Countries
WHERE Customers.CityCode = Cities.CityCode
AND Customers.CountryCode = Cities.CountryCode
AND Customers.CountryCode = Countries.CountryCode
ORDER BY CompanyName,CityName,CountryName

Step 3

Run XLReportGen to generate a report file in Microsoft Excel spreadsheet.

output report to excel using XLReportGen

The report Customer List is generated as follows.

excel report generated by XLReportGen

Excel Report Introduction Download XLReportGen Introduction PDF (141KB)


Copyright © 2004 - 2014 LJZsoft Corporation. All rights reserved.