Describe

Description

Reports the values of properties of a report or form object and the controls within the object. Each column and graphic control in the report or form 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 the DataWindow Reference in the PowerBuilder documentation set.

Examples

Example 1

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

Describe("DataWindow.Table.Select")