The DOM API supports, but does not require, use of templates to generate reports. As this example illustrates, you can use the API to create scripts that generate and format content without the use of templates. The price you pay is a script that is less efficient and maintainable than it would be if it uses templates.
IMPORTANT! Click the Open Script button on this page to use this example. This will download the example and its supporting files to your home directory.
Generate the Population Report
Click any of the following to generate the population report.
Edit the RPTPOP Function
1. Click edit('rptpop.m') to edit the rptpop function.
2. Click any of the following
to run the edited report.