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

DiscardSavedData

DiscardSavedData indicates whether or not the data that is saved with a report should be discarded.

Syntax

[form.]Report.DiscardSavedData[= TrueFalse%]

For example:

CrystalReport1.DiscardSavedData = 1

«Discards the data saved with the specified report.»

Remarks

For TrueFalse% use one of the following values:

Do not discard the data: False = 0

Discard the data: True = 1

This property/method is available for subreports.

Data Type

Integer

Availability

Design Time; Runtime

Related Report Engine Functions

PEDiscardSavedData, Volume 2, Chapter 1

EMailCCList

EMailCCList specifies the “CC” list to which you want your e-mail message sent.

Syntax

[form.]Report.EMailCCList [= CCList$]

For example:

CrystalReport1.EMailCCList = “John Brown; Jane Doe”

«Sends a CC of the e-mail message to both John Brown and Jane Doe.»

Crystal ActiveX Control Reference

186

Remarks

Applies to both VIM and MAPI.

Multiple names must be separated by a semicolon.

This property/method is available for subreports.

Data Type

String

Availability

Design Time; Runtime

Related Report Engine Functions

PEExportTo, Volume 2, Chapter 1

PEGetExportOptions, Volume 2, Chapter 1

EMailMessage

EMailMessage specifies the string that you want to appear as the body of your e-mail message.

Syntax

[form.]Report.EMailMessage[=Message$]

For example:

CrystalReport1.EMailMessage = “The meeting is at 4:00”

«Sets “The meeting is at 4:00” as the body of the e-mail message.»

Remarks

Applies to both MAPI and VIM.

This property/method is available for subreports.

Data Type

String

Availability

Design Time; Runtime

Crystal ActiveX Control Reference

187

Related Report Engine Functions

PEExportTo, Volume 2, Chapter 1

EMailSubject

EMailSubject specifies the subject line in your e-mail message.

Syntax

[form.]Report.EMailSubject[= Subject$]

For example:

CrystalReport1.EMailSubject = “Staff meeting”

«Sets “Staff meeting” as the subject line in an e-mail message.»

Remarks

Applies to both MAPI and VIM.

This property/method is available for subreports.

Data Type

String

Availability

Design Time; Runtime

Related Report Engine Functions

PEExportTo, Volume 2, Chapter 1

EMailToList

EMailToList specifies the “To” list to which you want your e-mail message sent.

Syntax

[form.]Report.EMailToList [=ToList$]

For example:

CrystalReport1.EMailToList = “Jane Doe”

«Makes Jane Doe the only name in the To list.»

Crystal ActiveX Control Reference

188

Remarks

Applies to both MAPI and VIM.

Multiple names must be separated by a semicolon.

This property/method is available for subreports.

Data Type

String

Availability

Design Time; Runtime

Related Report Engine Functions

PEExportTo, Volume 2, Chapter 1

EMailVIMBCCList

EMailVIMBCCList specifies the “Blind CC” list to which you want your e-mail message sent.

Syntax

[form.]Report.EMailVIMBCCList [=BCCList$]

For example:

CrystalReport1.EMailVIMBCCList = “John Jacobs; Jane Doe”

«Makes John Jacobs and Jane Doe the names for the BCC list.»

Remarks

Applies to VIM only, not MAPI.

Multiple names must be separated by a semicolon.

This property is not available in the 32-bit ActiveX control.

This property/method is available for subreports.

Data Type

String

Crystal ActiveX Control Reference

189

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