DataObject  dddw.property

Chapter 3: DataWindow Object Properties

dbName

Description

The name of the database column. PocketBuilder uses this value to construct the update syntax.

Applies to

Column controls

Syntax

PocketBuilder 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.

Usage

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.


In the painter

The Syntax view displays the database column names (they can be shown with quotes).

Examples

Example 1

dbcol = dw_1.Object.emp_id.dbName

Example 2

dw_1.Object.emp_id.dbName = "emp_id"

Example 3

dbcol = dw_1.Describe("emp_id.dbName")

Example 4

dw_1.Modify("emp_id.dbName='emp_id'")





Copyright © 2004. Sybase Inc. All rights reserved. dddw.property

View this book as PDF