Reusing a DataWindow object

NotePowerBuilder only This technique uses PowerScript methods, which are not available in other DataWindow environments.

You can reuse a DataWindow object by retrieving its syntax from the library it is stored in, then using the syntax to create a DataWindow object dynamically in a DataWindow control.

Here is a typical way to accomplish this in an application. Use:

For information about the PowerScript functions, see the PowerScript Reference. For information about the DataWindow methods Create, Describe, and Modify, see the DataWindow Reference.