AsTran()


Convert any variable type to a transaction type.

Syntax

AsTran(<xVar>, <nLen>) --> cTran

Arguments

<xVar> --> is the expression of any variable type to convert.

<nLen> is the optional length of the return string. The default is 9 which is the standard length of a CAPITAL transaction number. (This length will only vary in special circumstances.)

Returns

A transaction number.

Description

AsTran() converts a variable or expression of any type to a transaction number formatted to 9 characters as the default. To convert a transaction number to a character string see: TranStr() and AsChar

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER