RDTA.PickDP.Extensions.DBListBox Control

This control is an extension of the Forms.ListBox control. All items in the control are automatically maintained from the PickDP environment. The DBListBox is a collection of connValuePair Objects. Each connValuePair Object represents an Item_Id of the table as internal code and a String with the value of the Item defined as external Value.

Public Constructors

New

Constructor.

Public Methods

FillListBox

Performs a query to the database and fills the ListBox with the results.

getKey

Gets the key of the connValuePair associated with the instance.

getValue

Gets the value of the connValuePair associated with the instance.

MemberwiseClone

Returns a copy of the current instance. For internal use only.

setSelectedItemDB

Selects an item in the combo to the specified Key.

Public Properties

Name

Type

Description

Criteria

String

Selection criteria is AQL syntax starting with "WITH".

FieldName

String

Field name to display from the table.

Table

Table

A reference to a table Object.