Function FindInfo

Finds a value in the database

FindInfo([TABLE_NAME],[GET_COLUMN],[SEEK_COLUMN],[SEEK_VALUE],[DEF_VALUE])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aTABLE_NAMEThe table to query
2stringrequiredn/aGET_COLUMNThe column containing the value to be returned
3stringrequiredn/aSEEK_COLUMNThe column containing the value to match against
4stringrequiredn/aSEEK_VALUEThe value to match against
5stringoptionalemptyDEF_VALUEThe default value to use if the value was not found

Returns

The field value found during the search


Examples

Example to lookup a borough based on a local authority when running from a property output.

{{FindInfo("BOROUGHS","BOROUGHD","BOROUGH",ALIAS.LOCALAUTH)}}