Sort

Description

Sort criteria for a newly created DataWindow. To specify sorting for existing DataWindows, see the SetSort and Sort methods.

Applies to

Table keywords in DataWindow syntax

Syntax

DataWindow syntax for Create method:

Table ( ... Sort = stringexpression ... )

Parameter

Description

stringexpression

A string whose value represents valid sort criteria. See the SetSort method for the format for sort criteria. If the criteria string is null, PowerBuilder prompts for a sort specification when it displays the DataWindow.