FIELDPICTURE Function

Returns a format-picture string that matches the Microsoft Visio internal text field format code.

Syntax

FIELDPICTURE(code)

Parameters

Name

Required/Optional

Data Type

Description

code

Required

Number

A text field format code.

Return Value

String

Remarks

Format picture strings are used in the FORMAT function to define the expansion of values to dates, times, numbers, and unit labels.

Example

FIELDPICTURE(0)

Returns the format picture string "esc(0)", which specifies a number that has one decimal place and a lowercase unit description when used in the FORMAT function.