IndexedDB RecordCount

Hi,

The RecordCount returns the count of all records in the data store regardless of there being a filter set.

Thanks,

Ken

Is it with OnFilterRecord of WebIndexedDBClientDataSet you set the filter?
When you bind this dataset to a WebDBGrid, do you see the filtered records?
Or do you somehow use this in another way?

I am using OnFilterRecord and that works perfectly with the correct records being displayed. It is only the RecordCount that is wrong.

We checked and it is a behavior of the pas2js clientdataset.
We'll need to investigate this deeper as it seems this scenario can also happens in Delphi or Lazarus datasets. Some info found:
http://www.delphigroups.info/2/a8/375053.html

So, in a nutshell, we'll need to check with the pas2js team what the best way forward is.

Thanks Bruno.

Did you check this with the pas2js team? I need the quickest way to get a record count when a filter is applied.

Sorry, at this moment no resolution from the pas2js team yet. We'll ask status again.

Thanks