GetInfo

ACCPAC Common Controls

AccpacViewField.GetInfo

Retrieves all of the view field's information in one call.

Sub GetInfo(
Index As Long,
ID As Long,
Name As String,
Description As String,
Type As tagFieldTypeEnum,
Attribs As tagFieldAttributeEnum,
Size As Integer,
Precision As Integer,
MaxValue As Variant,
MinValue As Variant,
PresentationType As tagFieldPresentationTypeEnum,
PresentationMask As String,
Value As Variant)

Parameters

Index

[out] returns the index of the field in the 0-based collection

ID

[out] returns the 1-based field ID, as defined in the view

Name

[out] returns the field name

Description

[out] returns the field description

Type

[out] returns the field type

Attribs

[out] returns the attributes of the current state of the field

Size

[out] returns the field size (the number of bytes of storage required by the field)

Precision

[out] returns the precision, if the field is of numeric type (Type is FLD_BCD)

MaxValue

[out] returns the maximum value of the field, according to the field type

MinValue

[out] returns the minimum value of the field, according to the field type

PresentationType

[out] returns the type of presentation information for the field

PresentationMask

[out] returns the field's presentation mask, if the presentation type specifies mask

Value

[out] returns the current value stored in the field

Remarks