conv.expression

conv.expression


COMPARE Index Level CONVERT
Syntax ICONV( string.expression, conv.expression )
-or-
OCONV( string.expression, conv.expression )
Category BASIC
Type Definition
Description any expression which evaluates to a valid processing code (conversion).
Options
See Also OCONV ICONV statements & functions expression t (text extraction) mt (mask time) d (date)
Example print oconv(time(),'mth')

Prints the system time using the "mth" Access processing code as a literal string.

conv.expression = 'd2-'
d = oconv(date(),conv.expression)

The "conv.expression" is the Access date processing code stored as a string in the variable, "conv.expression".

preci= '2'
scale = '4'
money = oconv(income,'mr':preci:scale)

The "conv.expression" is the compound string expression:

'mr':preci:scale

which results in the string, "mr24".
Warnings
Compatibility D3 7.0 AP R83
COMPARE Index Level CONVERT