| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
XML.Import.Todo
Queries how many items are to be done for JSON/XML import.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| XML | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XML.Import.Todo" { ; Selector } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Selector | Which value to return. By default we return number of records to create. You can pass here "Tables" to get number of tables, "Fields" to get number of fields or "Records" to get number of records. |
"Records" | Optional |
Result
Returns number.
Description
Queries how many items are to be done for JSON/XML import.Examples
Query how many records and tables are left to import:
Set Variable [ $r ; Value: MBS( "XML.Import"; $xml; Get( FileName ); "Import" ) ]
# by default the number of records to create
Set Variable [ $records ; Value: MBS( "XML.Import.Todo" ) ]
# or ask for tables or fields
Set Variable [ $tables ; Value: MBS( "XML.Import.Todo"; "Tables" ) ]
Set Variable [ $fields ; Value: MBS( "XML.Import.Todo"; "Fields" ) ]
# by default the number of records to create
Set Variable [ $records ; Value: MBS( "XML.Import.Todo" ) ]
# or ask for tables or fields
Set Variable [ $tables ; Value: MBS( "XML.Import.Todo"; "Tables" ) ]
Set Variable [ $fields ; Value: MBS( "XML.Import.Todo"; "Fields" ) ]
See also
Example Databases
Blog Entries
FileMaker Magazin
This function is free to use.
Created 8th September 2015, last changed 6th November 2026
MarkDown version: XMLImportTodo.md