Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Queries path of an item in results.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MetaDataQuery 8.0 Yes No Yes, macOS only No Yes
MBS( "MetaDataQuery.PathAtIndex"; Query; Index )   More


Parameter Description Example value
Query The reference number of the query. $query
Index The index of the item.
Range from 0 to MetaDataQuery.ResultCount-1.


Returns OK or error.


Queries path of an item in results.


Put paths in records:

Set Variable [ $index ; Value: 0 ]
    New Record/Request
    Set Variable [ $path ; Value: MBS( "MetaDataQuery.PathAtIndex"; $Query; $Index ) ]
    Set Field [ Search Applications::FilePath ; $path ]
    Commit Records/Requests [ With dialog: Off ]
    # next
    Set Variable [ $index ; Value: $index + 1 ]
    Exit Loop If [ $index ≥ $count ]
End Loop

See also

Example Databases

Blog Entries

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

MetaDataQuery.IsStopped   -   MetaDataQuery.Paths

Feedback: Report problem or ask question.

MBS Xojo Plugins