# matchresult

### matchresult()

Return the results of the latest match operation as a string: 'No Match', 'Single Match', or 'Multiple Match'.

## Arguments

Argument | Data Type | Description
None |  |

## Returns

The results of the latest match operation as a string: 'No Match', 'Single Match', or 'Multiple Match'

## Description

This function is normally used in the Table Pre and Post Operation expression tab. It can be used, for example,to update the source record with the results of the match operation.

You should not use it in the 'Add Fields' or 'Change Data' tabs, because at this point Inaport has not touched records.

## Examples

The table below shows how you might use the function in an expression on the Pre- and Post Operation tab for the chosen table.

Test Expression | Evaluation Expression | Description
| dbexecsql("S", "update sourceTable set reason='" & matchresult() & "' where rowid = '" & #rowid & "'") | Shows how to update a source record with the result of a match

## See Also

Pre and Post Expressions, pk() and parentpk(), isnomatch(), issinglematch(), ismultiplematch()