BBjRecordSet::createFormatMappingAction

Description

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

Syntax

Return Value

Method

BBjFormatMappingAction

createFormatMappingAction(string format)

Parameters

Variable

Description

format

Specifies how the disk value will be formatted when converted to a presentation value.

Return Value

Returns a BBjFormatMappingAction.

Remarks

The format string can embed the disk value by including the string "{0}" in its message:

Formatting Examples (for Disk Value "VALUE")

Format String

Example Presentation Value

"Unmapped Value: {0}"

"Unmapped Value: VALUE"

"UNEXPECTED RESULT"

"UNEXPECTED RESULT"

"…{0} <= ?? = > {0}…"

"…VALUE <= ?? => VALUE…"

See Working with RecordSet Mappings for an in depth discussion of RecordSet mappings.

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.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.