Whether the column is part of the database table’s primary key.

Column controls
PocketBuilder 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 = dw_1.Object.empid.Key
dw_1.Object.empid.Key = "Yes"
setting = dw_1.Describe("empid.Key")
dw_1.Modify("empid.Key=Yes")
| Copyright © 2004. Sybase Inc. All rights reserved. | 
 
 | 
|