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