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: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

MetaDataQuery.PathAtIndex

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 )

Parameters

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.
0

Result

Returns OK or error.

Description

Queries path of an item in results.

Examples

Put paths in records:

Set Variable [ $index ; Value: 0 ]
Loop
    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


MetaDataQuery.IsStopped   -   MetaDataQuery.Paths

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins