IAuditFilter.DateOrderAsccending

Syntax

DateOrderAsccending: Boolean;

Description

The DateOrderAsccending property defines the order of sorting by date.

Comments

If the property is set to True, the sorting is performed by date ascending, otherwise - by descending.

If the date ascending order is set, DateOrderAsccending = True, otherwise - False.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

AL: IAuditLog;

AF: IAuditFilter;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

Al:=MS.OpenAuditLog;

AF:=Al.Filter;

AF.DateOrderAsccending:=True;

End Sub Main;

After executing the example sorting of access protocol in date ascending order is set.

See also:

IAuditFilter