MKI_DATABASE_COLUMN (Basic Classes) New in Version 6.60

www.CAD6.com

C++ Syntax

class MKI_DATABASE_COLUMN

{

  public:

 

  __int32 m_nType,

          m_nAutoAssign,

          m_nMaxLength,

          m_nDecimalPlaces;

};

 

This structure contains information about a single database’s column.

 

Element Description

Type

[__int32] Type of the column's content (see MKI_COLUMNTYPE_*).

AutoAssign

[__int32] Indicates which content shall automatically be assigned to this column when adding object data to this database (see MKI_COLUMNASSIGN_*).

MaxLength

[__int32] Maximum length of the column's content in number of characters (w/o terminating zero). If MaxLength is zero, the length of the column is not limited or in case of dBase assumed to be 255 (which is the maximum length for a dBase text cell).

DecimalPlaces

[__int32] Number of decimal places for a number-mode column. If DecimalPlaces is zero, no decimal places and no point will be output.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH