KeyClause
property (DataWindow object)
Description
An expression to be used as the key clause when retrieving the
blob.
Applies to
TableBlob controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.tblobname.KeyClause |
Describe and Modify argument:
|
1 |
"tblobname.KeyClause { = ' keyclause ' }" |
|
Parameter |
Description |
|---|---|
|
tblobname |
The name of the TableBlob for which you want to |
|
keyclause |
(exp) A string that will be built into a key clause |
Usage
In the painter
Select the control and set the value in the Properties view,
Definition tab, Key Clause option.
Examples
With the following setting, the value of key_col will be put in
col2 when PowerBuilder constructs the WHERE clause for the SELECTBLOB
statement:
|
1 |
dw1.Modify(blob_1.KeyClause='Key_col = :col2'") |