MATCHREF ​
Returns number of records in any table that match the specified condition based on a field in the cursor.
Reporting Area(s) ​
General
Required Parameters ​
- Character search value: table to search in quotes (i.e. "NAMES")
- Match value: field from cursor to match without quotes (i.e. fmid)
- Match value: field from table to match in quotes (i.e. "nmfmid")
Optional Parameters ​
- Condition to return count (i.e."nmcity='Manhattan' ")
Example(s) ​
MATCHREF("NAMES",fmid,"nmfmid") returns number of people in Names table with particular firm
MATCHREF("NAMES",fmid,"nmfmid","nmcity='Manhattan' ") returns number of people in Names table from Manhattan (city) with particular firm