ColType DataWindow object property
Description
The datatype of the column or computed field.
Controls
Column and Computed Field controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.ColType |
Describe argument:
1 |
"<span>controlname</span>.ColType" |
Parameter |
Description |
---|---|
controlname |
The column for which you want the datatype.
|
Usage
In the painter
The value of ColType is derived from the data or expression you
specify for the control. The value is displayed in the Column Specifications
view.

If
you define a DataWindow with a column of type Date and deploy it
with a DBMS that uses the DateTime datatype, set the StaticBind
database parameter to 0 or No. This forces the DataWindow server to get a result
set description before retrieving data and adjust the bind information
if necessary.
For more information, see the StaticBind DBParm
parameter in the online Help.
Examples
1 |
string ls_coltype |
1 |
ls_coltype = dw1.Object.emp_id.ColType |
1 |
ls_coltype = dw1.Describe("emp_id.ColType") |