pb获得数据源类型和显示风格
数据源可以用
string ls_sql
ls_sql = dw_1.describe("datawindow.table")
或者
ls_sql = dw_1.getsqlselect()
数据窗口的显示风格
string setting
setting = dw1.Object.DataWindow.Processing
或者
setting = dw1.Describe("DataWindow.Processing")
以下pb中的帮助
Description
The type of processing required to display the data in the selected presentation style.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.Processing
Describe argument:
"DataWindow.Processing"
Return values are:
0 - (Default) Form, group, n-up, or tabular
1 - Grid
2 - Label
3 - Graph
4 - Crosstab
5 - Composite
6 - OLE
7 - RichText
8 - TreeView
9 - TreeView with Grid

浙公网安备 33010602011771号