BBjMappingDescription::getPresField
Description
In BBj 8.0 and higher, this method returns the Pres (presentation) Field of the mapping, if any.
Syntax
Return Value |
Method |
---|---|
string |
getPresField() |
Parameters
None.
Return Value
Returns the Pres Field of the mapping, null if the mapping is of type NONE.
Remarks
Mapping the Disk Field "foo" to the Presentation Field "bar" returns the following values:
RS!.getMappingDescription("foo").getPresField() => "bar"
RS!.getMappingDescription("bar").getPresField() => "bar"
If no mapping involving field "baz", then
RS!.getMappingDescription("baz").getPresField() => NULL
Example
See Also
BBjRecordSet::createFormatMappingAction
BBjRecordSet::getMappingDescription
Working with RecordSet Mappings
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.