Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


Attempts to start the query.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MetaDataQuery 8.0 Yes No Yes, macOS only No Yes

MBS( "MetaDataQuery.StartQuery"; Query )


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


Returns OK or error.


Attempts to start the query.
Returns OK when successful; otherwise, Failed.
A query may fail to start if it does not specify a predicate, or if the query has already been started.


Start a query:

Set Variable [ $query ; Value: MBS( "MetaDataQuery.Create" ) ]
Set Variable [ $r ; Value: MBS( "MetaDataQuery.SetQueryString"; $Query; "kMDItemContentType=\"\"") ]
Set Variable [ $r ; Value: MBS( "MetaDataQuery.StartQuery"; $Query) ]

See also

Example Databases

MetaDataQuery.SetSearchScopes   -   MetaDataQuery.StopQuery

Feedback: Report problem or ask question.

MBS Xojo Plugins