基础·取出DataWindow中的列名

来源:互联网 发布:网络赌钱平台作弊方法 编辑:程序博客网 时间:2024/05/16 01:03

[参考]:《Power Builder Help》(8.0)

DataWindow Reference —— DataWindow Object Properties —— Controls in a DataWindow and their properties —— Properties for the DataWindow object

DataWindow Reference —— DataWindow Object Properties —— Controls in a DataWindow and their properties —— Properties for Column controls in DataWindow objects

DataWindow Reference —— Methods for the DataWindow Control —— Describe method

 

 

Column.Count

Description: The number of columns in the DataWindow object.

Syntax: dw_control.Object.DataWindow.Column.Count

 

 

Name

Description: The name of the control.

Syntax: dw_control.Object.controlname.Name

 

 

Describe method (DataWindows)

Description: Reports the values of properties of a DataWindow object and controls within the DataWindow object.

Syntax: string dwcontrol.Describe(string propertylist)

Argument

dwcontrol: A reference to a DataWindow control,DataStore, or child DataWindow.

propertylist: A string whose value is a blank-separated list of properties or Evaluate functions For a list of valid properties,see "DataWindow Object Properties".

Return value

string —— success

!         —— invalid item

?         —— no value for a property

NULL   —— argument's value is NULL

 

[简单示例]:

 

原创粉丝点击