Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

¾DrillOnDetail, Page 382

¾DrillOnGroup, Page 383

¾ExportButtonClicked, Page 384

¾FirstPageButtonClicked, Page 384

¾GroupTreeButtonClicked, Page 385

¾LastPageButtonClicked, Page 385

¾NextPageButtonClicked, Page 386

¾PrevPageButtonClicked, Page 386

¾PrintButtonClicked, Page 387

¾RefreshButtonClicked, Page 388

¾SearchButtonClicked, Page 388

¾ShowGroup, Page 389

¾ZoomLevelChanging, Page 389

Application Object

The Application Object is the only creatable object in the Crystal Report Engine Object Model. All access to the Crystal Report Engine Automation Server must begin with the creation of an instance of the Application object.

An instance of the Application object can be created using the Visual Basic New keyword or using the CreateObject function and the Prog Id Crystal.CRPE.Application. Note that when using the New keyword, "Crystal.CRPE.Application" does not have to be referenced.

For example,

Using the New keyword:

Dim app as New Application

Set app = New Application

Or,

Automatically creates a new instance of the object when it is first

referenced in the code, so it doesn’t have to be set.

Dim app As New Application

Using the CreateObject function:

Dim app As Application

Set app = CreateObject(“Crystal.CRPE.Application”)

Crystal Report Engine Object Model for the Automation Server

290

Соседние файлы в папке crystal