Skip to main content
Skip table of contents

p$TDV:SMPAPI:EtTxPar


p$TDV:SMPAPI:EtTxPar

Update a component parameter of the next text component to be inserted. In contrast to the functionp$TDV:SMPAPI:EtTxTxP an ePOS parameter is not directly set, but the term in the field function DocVariable will be transferred in the form of a text component. This term does not have to be an ePOS parameter in this function.

The parameter values set by p$TDV:SMPAPI:EtTxTxP, p$TDV:SMPAPI:EtTxPar and p$TDV:SMPAPI:EtTxMerk always have priority to a parameter value substitution by p$TDV:SMPAPI:EtTxBast. If several calls for the same DocVariable fields the value of the first call will be used.

Instead of a separate call of this function, the parameters can also be set directly upon copying the component (p$TDV:SMPAPI:EtTxBast), if the document parameter is in accordance to an ePOS parameter group parameter. This usually is simpler.

The transferred value is always transferred as a string. If a numeric value is to be set, it might have to be converted, for example by using f$FormatZahl .

Syntax:

p$TDV:SMPAPI:EtTxPar( DokPar, Value)

 

Argument

Type

Meaning

 

DokPar

String

Name of the DocVariable in the document that is to be substituted

 

Value

String

Text to be inserted to the document

Result:

-

 

Example:

p$TDV:SMPAPI:EtTxPar( 'Special', 'This is an example' )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.