Different simple formats to display an address
There are several formats available by default to display an address on a commercial document.
Syntax
DocAdr([nNamesOrder])
Parameter |
Description |
nNamesOrder |
Optional: specifies in which order certain data from the address will be displayed. If omitted, it is defaulted to 0.
1. Firstly the name of the Company is always displayed.
2. Then, according to nFormat are displayed: 0: Civil Title + Carriage Return + Last Name + First Name; 1: Civil Title + Carriage Return + First Name + Last Name; 2: Civil Title + Last Name + First Name; 3: Civil Title + First Name + Last Name.
3. Finally are always displayed the two lines of the address, the Zip Code and the Town. |
Example
*/ Can be used only from Commercial documents.
DocAdr()
DocAdr(1)
DocAdr(2)
DocAdr(3)