A.9. Chapter 9
The CreateReport method is used to create a new report object. The CreateReportControl method is used to create new controls on a new or existing report. Using these two methods, you can create a new report from scratch.
Report events are basically the same as form events, except that there are fewer of them. As with form events, you can write VBA code that should execute when a particular report event occurs.
The AutoStart parameter is used to indicate whether the particular program associated with that type of file should be launched immediately after performing the OutputTo method. For example, if you are creating a web page, you could use this parameter to specify that a web browser should launch after the web page is output.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access