Table.property DataWindow object property
Description
Properties for the DataWindow’s DBMS connection.
You can also specify stored procedures for update activities.
For information, see Table.sqlaction.property.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Table.<span>property</span> |
Describe and Modify argument:
|
1 |
"DataWindow.Table.<span>property</span> { = <span>value</span> }" |
|
Parameter |
Description |
|---|---|
|
property |
A property for the DataWindow’s |
|
value |
The value to be assigned to the property. |
|
Property for Table |
Value |
|---|---|
|
Arguments |
(Read only) A string containing retrieval |
|
CrosstabData |
A string containing a tab-separated list |
|
Data.Storage |
A string indicating whether table data Values are:
Painter: Rows>Retrieve Options>Rows to Disk. |
|
Delete.Argument |
(Internal use only) A string containing |
|
Delete.Method |
(Internal use only) The name of the method. |
|
Delete.Type |
(Internal use only) Currently stored |
|
Filter |
(exp) A string containing The filter string can be a quoted DataWindow expression. Painter: Rows>Filter. |
|
GridColumns |
(Read-only) The grid columns of a DataWindow. |
|
Insert.Argument |
(Internal use only) A string containing |
|
Insert.Method |
(Internal use only) The name of the method. |
|
Insert.Type |
(Internal use only) Currently stored |
|
Procedure |
A string that contains the number of You can use this property only if your DBMS supports stored Use this property to change the stored procedure or to change Painter: Set when Stored Procedure is selected as a data source. |
|
Select |
A string containing the SQL SELECT statement Use this property to specify a new SELECT statement Table.Select has several advantages over the SetSqlSelect method:
If you are using describeless retrieval (the StaticBind database Painter: Set when Select or Quick Select is selected as a |
|
Select.Attribute |
(Read-only) A string containing the PBSELECT statement |
|
Sort |
(exp) A string containing The value for Sort is quoted and can be a DataWindow expression. Painter: Rows>Sort. |
|
SQLSelect |
The most recently executed SELECT statement. |
|
Update.Argument |
(Internal use only) A string containing |
|
Update.Method |
(Internal use only) The name of the method. |
|
Update.Type |
(Internal use only) Currently stored |
|
UpdateKey InPlace |
Whether the key column can be updated
Caution
When there are multiple rows in a DataWindow object and the Painter: Rows>Update Properties, Key Modification. |
|
UpdateTable |
A string specifying the name of the database Painter: Rows>Update Properties, Table to Update. |
|
UpdateWhere |
An integer indicating which columns will Values are:
For more about the effects of this setting, Painter: Rows>Update Properties, Where Clause for |
Examples
|
1 |
setting = dw1.Object.DataWindow.Table.Sort<br>dw1.Object.DataWindow.Table.Data.Storage = "disk" |
|
1 |
dw1.Object.DataWindow.Table.Filter = "salary>50000" |
|
1 |
setting = dw1.Describe("DataWindow.Table.Sort") |
|
1 |
dw1.Modify("DataWindow.Table.Filter='salary>50000'") |
|
1 |
dw_l.Modify (" DataWindow.Table.Procedure= &<br>    '1 Execute MyOwner MyProcName;1 &<br>    @NameOfProcArg=:NameOfDWArg, &<br>      @NameOfProcArg=:NameOfDWArg...' ") |
|
1 |
sqlvar = 'SELECT ... WHERE ...' |
|
1 |
dw1.Modify("DataWindow.Table.Select='" + sqlvar + "'") |