SELDEST

Contents


Seldest allows you to enter the recipients and other information on a message to be sent in a window.

 

Syntax

   Seldest param = server_id with param_list

 

Parameters

Element

Description

Restrictions

param

variable

server_id

Identification of the messaging server

param_list

param_id list separated by the comma (,)

The expressions must be alphanumeric and are limited to 255.

 

Examples

Local Char PARAMETRE(250)(1..100)
Local Char SERVEUR(30)

# Example 1: without default value
Seldest PARAMETRE = SERVEUR

# Example 2: with default value
PARAMETRE(1)="_EMailToList="+chr$(1)+"Dupond;Durand"
PARAMETRE(2)="_EMailCCList="+chr$(1)+"Martin"
PARAMETRE(3)="_EMailSubject="+chr$(1)+"message title"
PARAMETRE(4)="_EMailMessage="+chr$(1)+"message text"
Seldest PARAMETRE = SERVEUR With PARAMETRE(1..4)

# Example 3: with default value (other way of writing)
Seldest PARAMETRE = SERVEUR With
&"_EMailToList="+chr$(1)+"Dupond;Durand",
&"_EMailCCList="+chr$(1)+"Martin",
&"_EMailSubject="+chr$(1)+"message title",
&"_EMailMessage="+chr$(1)+"message text",

 

Description and Comments

Seldest allows you to enter the following information to send a message in an entry window:

·         Recipients of the Message

·         Recipients copied in on the Message

·         Description of the Subject of the Message

·         Contents of the Message

 

The first param parameter contains the group returned after the entry by the user. (executing the instruction)

The second server_id parameter contains the print server name.

The third param_list parameter contains the list of parameters used as a default value in the entry window (parameters in entry). The [s]stat1 Adonix system variable will return the number of parameters when exiting the Seldest instruction.

For each parameter, the expression must be alphanumeric and is limited to 255. To go beyond this limit, this is the syntax:

Seldest PARAMETRE = SERVEUR With
&"_EMailMessage="+chr$(1)+"message text",
&"_EMailMessage="+chr$(2)+"message text suite 1",
&"_EMailMessage="+chr$(3)+"message text suite 2"

These are the parameters:

Parameter

Description

_EMailToList

Recipients of the Message

_EMailCCList

Recipients copied in on the Message

_EMailSubject

Description of the Subject of the Message (maximum of 64 characters)

_EMailMessage

Contents of the Message

 

Associated Errors

Error

Description

 

 

 

Associated Keywords

Stat1


CONTENTS


Copyright © Sage 1999 - 2007