Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XML.Import.SetExtraFieldDefinitions

Sets the extra field definitions.

Component Version macOS Windows Linux Server iOS SDK
XML 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XML.Import.SetExtraFieldDefinitions"; List )   More

Parameters

Parameter Description Example
List The list of SQL field defintions.
Should include field name (if needed in quotes), the type and other options like e.g. UNIQUE flag.
"ImportID DECIMAL DEFAULT 123"

Result

Returns OK or error.

Description

Sets the extra field definitions.
This are SQL field definitions, which we include in creating a table.
If you include SQL syntax errors, you may see a lot of errors logged.

Examples

Set two extra fields:

Set Variable [ $r ; Value: MBS("XML.Import.SetExtraFieldDefinitions"; "ImportRun DECIMAL DEFAULT 1¶ImportLabel VARCHAR DEFAULT 'test'") ]

See also

Release notes

Blog Entries

This function is free to use.

Created 22nd September 2023, last changed 22nd September 2023


XML.Import.SetExtraField - XML.Import.Status