|
|
|
|
|
iParameterExport (Function) In french: iParamètreExport Allows you to configure the exports performed from the report viewer: - parameters for sending emails.
- parameters for creating the different files.
// Defines the email address and message topic for the export iParameterExport(iExportEmailRecipient, "Wam@CrazyMail.com; Celia.Wat@ZMail.fr") iParameterExport(iExportEmailSender, "Itsme@Berrymail.com") iParameterExport(iExportEmailSubject, "Result of yearly sales") // Open the report viewer iDestination(iViewer) iPrintReport(RPT_YearlySales) // Defines the name and directory of created files iParameterExport(iExportDirectory, fExeDir() + [fSep] + DateSys()) iParameterExport(iExportFile, "MonthlyStats") iParameterExport(iExportOption, ieDefault) // Open the report viewer iDestination(iViewer) iPrintReport(RPT_YearlySales) Syntax
iParameterExport(<Option to configure> , <Value to assign>)
<Option to configure>: Integer constant Element to configure: | | iExportDirectory | Path of the directory where the generated file must be created. | iExportEmailRecipient | Email addresses of recipients. | iExportEmailSender | Sender email address. | iExportEmailSubject | Email subject. | iExportFile | Name of the generated file (without extension). | iExportOption | Additional options regarding the generated files. |
<Value to assign>: Character string Value that must be assigned to the specified option.- To specify several recipients, the email addresses must be separated by ";".
- For the additional options, the values that can be used are as follows (these constants can be combined):
| | ieConfirmNone | No confirmation is requested. | ieConfirmOpenFile | If the file opening was requested (ieOpenFile constant), the report viewer requests a confirmation before opening the file. | ieConfirmOverwriteFile | If the file name has been defined, the report viewer requests a confirmation before the file is overwritten. | ieDefault | Combination of constants used by default: ieOpenFile + ieConfirmationOpenFile + ieConfirmationOverwriteFile | ieOpenFile | Opens the created file in the associated application. |
Remarks The setting remains active until: - the application is closed,
- the next call to iReset,
- the next call to iParameterExport.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|