The name of the database column. PowerBuilder uses this value to construct the update syntax.
Column controls
PowerBuilder dot notation:
dw_control.Object.columnname.dbName
Describe and Modify argument:
"columnname.dbName { = ' dbcolumnname ' }"
Parameter |
Description |
---|---|
columnname |
The name of the column for which you want the name of the corresponding database column |
dbcolumnname |
The name of the database column associated with columnname |
DbName is the name of the database column in the format tablename.columnname. The value of dbName does not include the quotes that can be part of the SQL syntax.
The Syntax view in the SQL Select painter displays the database column names (they can be shown with quotes).
dbcol = dw1.Object.emp_id.dbName
dw1.Object.emp_id.dbName = "emp_id"
dbcol = dw1.Describe("emp_id.dbName")
dw1.Modify("emp_id.dbName='emp_id'")