Grid.SetSortAscending

Grid.SetSortAscending (

string ObjectName,

boolean Ascending )

Description

Sets whether the current sort column is sorted ascending in a grid object.

Parameters

ObjectName

(string) The name of the grid object.

Ascending

(boolean) Whether sort is ascending or descending.

VALUE

DESCRIPTION

true

Set sort as ascending.

false

Set sort as descending.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions