Progress
ADM 2 Reference


mappedEntry (smart.p)

Returns the other entry in a separated list of paired entries. This is required to ensure that the lookup does not find a matching entry in the wrong part of the pair.

Parameters:

INPUT pcEntry AS CHARACTER

Entry to lookup.

INPUT pcList AS CHARACTER

Comma-separated list with paired entries.

INPUT plFirst AS LOGICAL

If TRUE, lookup first and return second. If FALSE, lookup second and return first.

INPUT pcDelimiter AS CHARACTER

Delimiter of pcList.

Returns: CHARACTER

Notes: Used to find mapped RowObject or database column in assignList. In other cases, such as the ObjectMapping property of SBOs, an entry might occur more than once in the list, in which case a list of matching values is returned, using the same delimiter as the list.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095