Value (FormItem Object)

Dundas

Value (FormItem Object)

Overview

Use this property to retrieve the value of a form element.

Syntax

string = FormItemObject.Value

Remarks

This property is essential for retrieving data from a multiple-entry form element (e.g. a multiple item listbox). It is also the default member of the FormItem object, so it does not have to be declared explicitly.

To retrieve multiple selected values for one single form element use the following syntax: string = objFormItem.[Value](Index), where Index is a zero-based long.

See Also: Count Property (FormItem Object)