Zum Inhalt

GetSalutationText (Opus Funktion)

Beschreibung

Gibt den Anredetext zurück. Returns the salutation text for the given address. The single-argument form uses the address's own language. Extended forms allow specifying language and salutation type explicitly.

Argumente

Name

Typ

Beschreibung

AddressID

integer

ID of the address record for which to build the salutation

LanguageID

integer

wenn 0, dann wird die Standardsprache genommen
ID of the language to use for the salutation; defaults to the address language

SalutationTypeID

integer

(optional) wenn nicht angegeben oder = 0, wird der erste gefundene Typ genommen.
ID of the salutation type; 0 = default type

Rückgabewert string

Anredetext formatted salutation text (e.g. "Dear Mr. Smith")

Beispiel

Ls_Salutation = GetSalutationText(Ai_ID,Ai_LanguageID);

Resultat Ls_Salutation: "Frau"

Siehe auch