You can run WordReport from the command line. The format is:\n\n  WordReport <wrf file name> [-c -d p1 p2 p3 ...]\n\nFor example:\n  wordreport c:\wordreport\monthlysales.wrf -c 199605

WordReport can be scheduled with Windows Scheduled Tasks or other tools. The process of generating reports can be fully automated, periodically or on events. 


WordReport comes with a sample database Sample.mdb and some sample reports. You can use them when learning the program. To use the sample reports, you must add a data source named "Report Sample" to specify the sample database. 


To make a report template, you can use some sample data. It is very useful especially for formatting. After you have made the report template, you delete the sample data. 


For a table report, you can format the value from data sources with a format expression. You should write a format expression into a data cell in the report template file first. WordReport will get the text of the cell as a format expression before it puts a value into a cell, and output the value using the format expression. 


For a form report, you can format the value from data sources with the switch of a merge field or quote field like "\#" or "\@". 


In the sample file "monthly_sales.doc", there is a macro called "CellRef". The macro can tell you the table number and the cell reference. 


An irregular table does not have the same number of cells for each row or column. It does make it harder to process the document. In an irregular table, you have some difficulty to reference a cell, and an error may occur when you try to work with some rows or columns. 


You can set the width of cells in the same column to be different, and keep the table have the same number of cells for each row. Select two or more cells in one row, merge them into one cell, and split the cell into two or more cells. You can drag the boundary and change the cell width. 


You can use (formula) fields to perform calculations in a Word report template file. 


WordReport is a converter too. Besides Word document, you can generate a report in other file format such as HTML, XML, RTF, text, Works. You also can convert data from database to other file format. 


You can edit an WordReport file (.wrf) with a text editor such as Notepad. 

If you associate WordReport with the file extension .wrf, a WRF file with the extension .wrf will open in WordReport when you double-click the file. The information:\nFile Extension: .wrf        Action: open\nApplication: "C:\Program Files\LJZsoft\WordReport.exe" %1

For the report template file, report file and log file, it is possible to give a relative path. If it is a relative path, the base path is the path of the WRF file. 


In the SQL statements, you can use parameters. To use parameters, you must define them first. 


In the paths and names of the report file or log file, you can use parameters. To use parameters, you must define them first. 


The default log file is WordReport.log under the WordReport program directory. If you do not define the log file name, or can not create the log file defined, you can find log information in the WordReport.log under the WordReport program directory. 


You should be careful to define a unique name for each parameter, because WordReport will replace all strings that are the same as the names of the parameters. It is a good choice a name begins with the "$" character such as "$ReportDate". 


In the text editor window, you can use comments. A comment is the "/*" characters, followed by any sequence of characters (including new lines), followed by the "*/" characters. You cannot nest comments. 


In REPORT function, the order of groups should be in accordance with the order of ORDER BY clause in the SQL statement. 


If you add a bookmark in a table, you can reference the table using the bookmark. 


WordReport supports nested tables. You can reference a nested table by a table index like 2-1-2 or a bookmark. 


It is very useful to create a temporary table. You can prepare data using INSERT/UPDATE/DELETE/INSERT SELECT, and then make a report using REPORT function. 
