I'm using the lib from github, trying to do this:
procedure TCloudScore.List(aSkill: Integer; aStartDate: string; aEndDate: string; aCount: Integer);
begin
if not FConnected then Exit;
FTable.Filters.Clear;
FTable.Filters.Add('Skill', aSkill, coEqual, loAnd);
FTable.Filters.Add('Date', aStartDate, coGreaterOrEqual, loAnd);
FTable.Filters.Add('Date', aEndDate, coLessOrEqual, loNone);
FTable.Sorting.Clear;
FTable.Sorting.Add('Score', soDescending);
FTable.PageSize := aCount;
FTable.Query;
end;
This will just crash on the loNone line. I can change it to loAnd and it will then run, but the filtering does not seem to work correctly. I simply want to filter on skill, in between the date range and sort by the score. Any ideas about this?