BBjRecordSet::createRecordSetMappingSource

Description

In BBj 8.0 and higher, this method creates a BBjRecordSetMappingSource.

Syntax

Return Value

Method

BBjRecordSetMappingSource

createRecordSetMappingSource(BBjRecordSet recordSet, string backField, string frontField)

Parameters

Variable

Description

backField

The field in recordSet to be used as the BackField.

frontField

The field in recordSet to be used as the FrontField.

recordSet

A BBjRecordset to be used to as the data source for the mapping.

Return Value

Returns a BBjRecordSetMappingSource.

Remarks

See Working with RecordSet Mappings for an in depth discussion of RecordSet mappings. SQLRecordsets, if used as the recordSet parameter, must be limited to simple "Select list from table."

 

Example

See Also

BBjAPI

BBjRecordSet

BBjErrorMappingAction

BBjFormatMappingAction

Working with RecordSet Mappings

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