BBjRecordSet::createFormatMappingAction
Description
In BBj 8.00 and higher, this method creates a BBjFormatMappingAction.
Syntax
|
Return Value |
Method |
|---|---|
|
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…" |
Example
See Also
Working with RecordSet Mappings
Advantage Article: BASIS Adds Mapping Functionality to BBjRecordSets
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.