Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  


Queries number of found items.

Component Version macOS Windows Linux Server iOS SDK
MetaDataQuery 8.0 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "MetaDataQuery.ResultCount"; Query )   More


Parameter Description Example
Query The reference number of the query. $query


Returns number or error.


Queries number of found items.


Store result count:

Set Variable [ $Count ; Value: MBS( "MetaDataQuery.ResultCount"; $Query ) ]
Set Field [ Search Applications::ResultCount ; $Count ]

See also

Example Databases

Blog Entries

Created 16th December 2017, last changed 16th December 2017

MetaDataQuery.ResultAtIndex - MetaDataQuery.Results

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos

Start Chat