| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
XML.Import.ErrorCount
Queries error counter.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| XML | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XML.Import.ErrorCount" )
Parameters
none
Result
Returns number or error.
Description
Queries error counter.Should be zero if we had no errors while importing.
Examples
Check for errors after an XML import:
Set Variable [ $r ; Value: MBS( "XML.Import"; $xml; Get( FileName ); "Import" ) ]
# wait for the import to finish with XML.Import.Status first
# should be zero if all records were imported
Set Variable [ $errors ; Value: MBS( "XML.Import.ErrorCount" ) ]
If [ $errors > 0 ]
Show Custom Dialog [ "Import" ; $errors & " errors:¶" & MBS( "XML.Import.Errors" ) ]
End If
# wait for the import to finish with XML.Import.Status first
# should be zero if all records were imported
Set Variable [ $errors ; Value: MBS( "XML.Import.ErrorCount" ) ]
If [ $errors > 0 ]
Show Custom Dialog [ "Import" ; $errors & " errors:¶" & MBS( "XML.Import.Errors" ) ]
End If
See also
Release notes
- Version 13.5
- Fixed XML.Import.ErrorCount and XML.Import.Errors to work better.
- Version 9.3
Blog Entries
- MBS FileMaker Plugin, version 13.5pr7
- Neues vom MBS Plugin 9.3
- Whats new in MBS FileMaker Plugin version 9.3
- MBS FileMaker Plugin, version 9.3pr3
This function is free to use.
Created 18th June 2019, last changed 6th November 2026
MarkDown version: XMLImportErrorCount.md