Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
XML.Import.SetExtraField
Sets the extra field to add to all tables.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XML | 7.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "XML.Import.SetExtraField"; FieldName; FieldValue { ; FieldType } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| FieldName | The name of the extra field. | "ImportID" | |
| FieldValue | The value for this field. Can be any data type, but must match field type. |
1 | |
| FieldType | The SQL field type. Default is "VARCHAR" for a text field. |
"VARCHAR" | Optional |
Result
Returns OK or error.
Description
Sets the extra field to add to all tables.Please call before XML.Import.
You can call it again when import loop is done and pass in empty name and value to clear it.
Only one extra field and only added when table is created.
Examples
Set extra field:
Set Variable [ $r ; Value: MBS( "XML.Import.SetExtraField"; "test"; "Hello"; "VARCHAR") ]
See also
Blog Entries
Release notes
- Version 7.1
- Added XML.Import.SetBaseFields and XML.Import.SetExtraField.
Created 2nd February 2017, last changed 19th June 2019
XML.Import.SetBaseFields - XML.Import.Status
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins