Describe

Description

Reports the values of properties of a DataWindow object and controls within the object. Each column and graphic control in the DataWindow object has a set of properties. You specify one or more properties as a string and Describe returns the values of the properties.

Syntax

Describe ( propertylist )

Argument

Description

propertylist

A string whose value is a blank-separated list of properties or Evaluate functions

Returns

String. Returns a string that includes a value for each property or Evaluate function. A new line character (~n) separates the value of each item in propertylist.

If propertylist contains an invalid item, Describe returns an exclamation point (!) for that item and ignores the rest of propertylist. Describe returns a question mark (?) if there is no value for a property.

Usage

Specifying the values for propertylist can be complex. For information and examples, see PowerBuilderthe Describe method for the DataWindowControl.

Examples

Example 1

This expression for a computed field in the header band of a DataWindow object displays the DataWindow object’s SELECT statement:

Describe("DataWindow.Table.Select")