Search
Table.SetColType Method
See Also
 



Sets the type of the specified column.

 Syntax

VB6  Copy Code

Public Sub SetColType( _
    ByVal col As Long, _
    ByVal newVal As EColumnType _
)

C++  Copy Code

public:
void SetColType (
    int col,
    EColumnType newVal
)

 Parameters

col
The column whose type is to change.
newVal

The new column type.

 Remarks

Changes the type of the specified column. The possible values are:

  • ctFixedWidth - the column width doesn't change;
  • ctAutoWidth - if the table width is changed the column width is changed too;

 See Also