Values (for columns) DataWindow object property
Description
The values in the code table for the column.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.Values |
Describe and Modify argument:
1 |
"<span>columnname</span>.Values { = '<span> string </span>' }" |
Parameter |
Description |
||||
---|---|---|---|---|---|
columnname |
The column for which you want to specify |
||||
string |
(exp) A string containing
For example:
String is quoted and can be a DataWindow |
Usage
In the painter
Select the control and set the value in the Properties view,
Edit tab.
When Style Type is DropDownListBox, fill in the Display Value
and Data Value columns for the code table.
When Style is Edit or EditMask, select the Use Code Table
or Code Table check box and fill in the Display Value and Data Value
columns for the code table.
Examples
1 |
setting = dw1.Object.emp_status.Values |
1 |
dw1.Object.emp_status.Values = & |
1 |
"Active~tA/Part Time~tP/Terminated~tT" |
1 |
setting = dw1.Describe("emp_status.Values") |
1 |
dw1.Modify("emp_status.Values = <br>'Active~tA/Part Time~tP/Terminated~tT'") |