f$txtadd
f$txtadd
Add a text template and replace all ePOS parameters wrapped in @ signs with their content.
Syntax: | Status = f$txtadd(DocNo, TemplName,[Mode]) | ||
| Argument | Type | Meaning |
| DocNo | Integer | Identification number from f$txtinit |
| TemplName | String | Template name including path. If a path is not entered, TDV_DATA\ettext\forms is used. |
| Mode | Integer | This parameter is optional. Template insertion mode: 2: no paragraph reset, the properties from the previous line are carried over |
Result: | Integer | 0 : everything ok -1 : template could not be opened. | |