Exercises


1. 

What is the difference between the CreateReport method and the CreateReportControl method?

image from book

2. 

How do report events differ from form events?

image from book

3. 

What is the purpose of the AutoStart parameter of the OutputTo method?

image from book

Answers

1. 

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.

2. 

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.

3. 

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.




Beginning Access 2007 VBA
Beginning Access 2007 VBA
ISBN: 0470046848
EAN: 2147483647
Year: 2004
Pages: 143

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net