Previous Topic

Next Topic

GenerateSchema - MaxBasic Function

GenerateSchema(TableName: String, Path\SchemaFile.XML: String): Boolean

Generate Schema function uses the schema from the table specified in TableName, to generate an XML schema file, with the file name and location specified in Path\SchemaFile.XML. The schema file can later be used by the UpgradeTable function to upgrade a table using scripting.

Returns False if the schema is not created, or True if it is created.

GenerateSchema function syntax has these named arguments:

Parameter

Description

TableName

Required. Name of the table whose schema will be used to generate the file.

Path\SchemaFile.XML

Required. The location path and file name of the generated schema XML file.

See Also

Tables Functions

Book Contents

Book Index