Interface RecordSetBindable::bindRecordSet

Description

In BBj 4.0 and higher, this method binds the RecordSetBindable to a particular field from a BBjRecordSet.

Syntax

ReturnValue

Method

void

bindRecordSet(BBjRecordSet recordset!, string fieldname)

Parameters

Variable

Description

recordset!

Specifies the record set for populating this list.

fieldname

Specifies the record set field for populating this list.

Return Value

None.

Remarks

This method is only valid for the followingdataboundcontrols:
BBjStaticText(text)
BBjEditBox(text)
BBjCheckBox(number: zero =unchecked, non-zero = checked)
BBjCEdit(text)
BBjListBox(text :causes item to be selected in the list)
BBjListButton(text: causes item to be selected in the list)
BBjListEdit(text: updates the edit box)
BBjInputE(text)
BBjInputN(number)
BBjInputD(See:Data Aware Grid Channels -BBj)
BBjNavigator(text: updates the navigator label)

When a foreign interpreter invokes this method, an !ERROR=208 Multi Thread results. See Accessing Objects From Different Interpreters.

Example

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

BBjRecordSet

RecordSetBindable

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.