FormatWRDNameField (open)
Generate a salutation, as specified by WRD
Syntax
LOADLIB "mod::wrd/lib/names.whlib";
STRING FUNCTION FormatWRDNameField(STRING field, RECORD data, RECORD options)
Parameters
STRING field
Salutation type: one of "WRD_FORMALNAME", "WRD_FULLNAME", "WRD_SALUTE_FORMAL", "WRD_ADDRESS_FORMAL"
RECORD data
RECORD options
Options
STRING languange
Languagecode: 'en', 'nl' or de'. if unset, falls back to current tid language
Return value
STRING
The requested name or salutation, if possible to form