![]() |
Section =DATABASE= (File Sections) Changed in Version 2012.0 |
www.CAD6.com |
MKD SyntaxThe section =DATABASE= contains up to MKI_DATABASE_INTERNAL_MAX internal databases, one of which is the default database with an empty name. If this section only contains named databases (at most MKI_DATABASE_INTERNAL_MAX-1), the default database is assumed to be empty.
Head of Section=DATABASE=; DatabaseCount;
Entry for each DatabaseDatabaseName,ColumnCount,RowCount,FileName,FileType, TextDelimiter,RecordSeparator,FieldSeparator,Options;
Entry for each Database ColumnType,AutoAssign,MaxLength,DecimalPlaces;
Entry for each Database RowMode[0],Content[0],...,Mode[n],Content[n];
End of Section=END=;
Element DescriptionDatabaseCount New in Version 2012.0 [__int32] Number of internal databases. Valid range: 0 <= Value < MKI_DATABASE_INTERNAL_MAX. DatabaseName New in Version 2012.0 [MKI_DATABASENAME] Name of the database, up to 63 characters. This name must unique among all internal databases of this drawing. The one database with an empty name is assumed to be the default database. ColumnCount [__int32] Number of columns defined in the database, i.e. number of fields in each database record. Valid range: 0 <= Value < MKI_DATABASE_COLUMN_MAX. RowCount [__int32] Number of rows in the database, i.e. number of database records. FileName [MKI_FILENAMEW] Filename that was used when the internal database was last saved in an external file. FileType TextDelimiter RecordSeparator FieldSeparator Options See MKI_DATABASE_DATA. FileType AutoAssign MaxLength DecimalPlaces See MKI_DATABASE_COLUMN. Mode[] Content[] See MKI_DATABASE_CELL.
If the section =DATABASE= does not exist, assume one empty database with empty name to be defined (ColumnCount = 0, RowCount = 0).
Example of Internal Database Information=DATABASE=; 1, "",3,2,"*(Untitled)",,,5,,5; ,,,; ,,,; ,,,; ,"Column 1", 1,"Column 2", 1,"Column 3"; ,"12345", 1,"Text 2", 1,"Text 3"; =END=;
This file includes one internal database with an empty name, containing two rows with three columns.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH