Open the Database Logger in the project's Workbench.
Open the Table Properties dialog box for the table whose report will be printed.
Select the Maintenance Events tab for the table.
Specify the event(s) you want to trigger the script.
Select the Maintenance Actions tab for the table.
Check Run program.
Enter the fill path and name of the executable you created from the script.
The Database Logger saves your changes and closes the Table Properties dialog box.
Result: The report automatically generates and prints whenever any of the maintenance events you specified occur.
Create an event to trigger an automatic report.