The template editor lets you insert database field keywords into an HTML file, add formatting, and save the result as a reusable report template. You can also define constant values such as company information, create a new template from scratch by naming it and saving, or build your template in an external editor and save it to the correct table folder.
The selected HTML template (1) is listed in the Edit Template box (1a). On the right side in the box (2) you have the list of all data fields together with predefined constant text strings (company fields or custom fields). On the top of the list box there is only one command: Go To Next Record.
Select the data field, the predefined company field, or the command and click the Insert Field button (3). The keyword will be included in the template (4). In the Preview box all Keywords are replaced with the associated data. Click the Save button (5) to save changes.
How to create a new html template file?
Enter the name into the Available HTML Templates box (1) and click the Save button (5).
Note: The file name should be in the format your-name.htm; it must have the "htm" file name extension.
The program saves the template in the following folder: C:/adv_invoice/data/db/view/tablename/.
Under the view folder you have subfolders that use the table name. (INVOICE_SIMPLE_1)
HTML file names are listed in the drop-dow box.
Options, you can define some constant values that you can include in your html templates. Enter your company information or other custom text values.
You can also create an html document in another application. Save your html file with the htm extension in the corresponding .../view/table-name/ folder.
Copyright © 2026 · All Rights Reserved · PrimaSoft PC