Simon
2006-09-27 09:41:03 UTC
Hello,
I am using ADO in Delphi 5 and Delphi 2006 VCL.NET.
DataBase is Access.
In TADODataSet:
CursorLocation=clUseServer.
CommandType=CmdTableDirect
Filtered=true
In the DataChange-event of the connected TDataSource I want to get the
recordcount:
No:=Table.RecordCount
but it always shows the unfiltered count.
Is that a normal behaviour and how can I get the filtered count?
Thanks+regards
Simon
I am using ADO in Delphi 5 and Delphi 2006 VCL.NET.
DataBase is Access.
In TADODataSet:
CursorLocation=clUseServer.
CommandType=CmdTableDirect
Filtered=true
In the DataChange-event of the connected TDataSource I want to get the
recordcount:
No:=Table.RecordCount
but it always shows the unfiltered count.
Is that a normal behaviour and how can I get the filtered count?
Thanks+regards
Simon