MinDate: DateTime;
The MinDate property determines the start value of date and time used while records filtering.
Default value of date is 3 days earlier that the current date.
Sub UserProc;
Var
FilCon: IAuditFiltersContainer;
Objs: IAuditFilterObjects;
Obj: IAuditFilterObject;
Con: IAuditFilterCondition;
Fil: IAuditFilter;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.Load;
Objs := FilCon.Filters;
Obj := Objs.FindById("FILTER").Edit;
Fil := Obj.Filter;
Con := Fil.Item(0);
Con.MinDate := DateTime.ComposeDay(2009, 1, 1);
Con.MaxDate := DateTime.Now;
Obj.Save;
FilCon.SaveToFile(FilCon.DefaultFileName);
End Sub UserProc;
After executing this example property of filter condition is changed: show records of access protocol beginning with "01.01.2009" and ending with the current date.
See also: