4D v16.3IMPORT STRUCTURE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
IMPORT STRUCTURE
IMPORT STRUCTURE
The IMPORT STRUCTURE command imports, into the current database, the XML definition of the 4D database structure passed in the xmlStructure parameter. The xmlStructure parameter must contain a valid 4D structure definition in XML format. There are several ways to obtain a valid structure definition:
The imported structure definition is added to the structure that is already open, and is displayed in the standard Structure editor of 4D among the existing tables (if any). If an imported table has the same name as a local one, an error is generated and the import operation is aborted. You can create a new database by importing a structure definition into an empty database. An error is generated when the structure is in compiled and/or read only mode. A 4D application operating in remote mode cannot call this command. You want to import a saved structure definition into the current database: $struc:=Document to text("c:\\4DStructures\\Employee.xml")
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v14 R4 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||