Whether the column is part of the database table’s primary key.
Column controls
PowerBuilder dot notation:
dw_control.Object.columnname.Key
Describe and Modify argument:
"columnname.Key { = value }"
Parameter |
Description |
---|---|
columnname |
The column for which you want to get or set primary key status. |
value |
Whether the column is part of the primary key. Values are:
|
Set the value using the Rows menu, Update Properties.
string setting
setting = dw1.Object.empid.Key
dw1.Object.empid.Key = "Yes"
setting = dw1.Describe("empid.Key")
dw1.Modify("empid.Key=Yes")