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

SQL Methods

SQL Clear method, Page 647

SQL CopyFrom method, Page 647

SQL Create method, Page 648

SQL Destroy method, Page 648

SQL Retrieve method, Page 649

SQL Send method, Page 650

Status

Declaration

property Status: integer;

Description

Status is a run-time, read-only property that can be used after the Execute method to indicate the processing status of the Report. It will return an integer value from the following list:

0- The Print Engine or the PrintJob are not open.

1- The Job has not started yet.

2- The Job is in progress.

3- The Job has completed successfully.

4- The Job has failed.

5- The Job has been canceled by the user.

6- The Report has exceeded the record or time governors.

You can use this function in a number of programming situations, for example:

to trigger error messages, i.e., when a print job fails (due to insufficient memory, insufficient disk space, etc.),

to trigger screen displays (hourglass, series of graphics, etc.) that confirm to the user that work is in progress,

to find out whether a job was canceled by the user after Execute.

VCL Reference

111

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