|
|
|
|
|
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.
iParameterExport(iExportEmailRecipient, "Wam@CrazyMail.com; Celia.Wat@ZMail.fr")
iParameterExport(iExportEmailSender, "Cémoy@Berrymail.com")
iParameterExport(iExportEmailSubject, "Résultat des ventes de l'année")
iDestination(iViewer)
iPrintReport(ETAT_ResultatVente)
iParameterExport(iExportDirectory, fExeDir() + [fSep] + DateSys())
iParameterExport(iExportFile, "StatMensuelle")
iParameterExport(iExportOption, ieDefault)
iDestination(iViewer)
iPrintReport(ETAT_ResultatVente)
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 + ieConfirmOpenFile + ieConfirmEcraseFile | 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|