Values (for columns)
Description
The values in the code table for the column.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.Values |
Describe and Modify argument:
|
1 |
"columnname.Values { = ' string ' }" |
|
Parameter |
Description |
||||
|---|---|---|---|---|---|
|
columnname |
The column for which you want to specify the |
||||
|
string |
(exp) A string containing the code table values for
For
String |
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 2 3 4 5 6 |
setting = dw1.Object.emp_status.Values dw1.Object.emp_status.Values = & "Active~tA/Part Time~tP/Terminated~tT" setting = dw1.Describe("emp_status.Values") dw1.Modify("emp_status.Values = 'Active~tA/Part Time~tP/Terminated~tT'") |