I would like to know what could cause the DA4 dataset on the client side be smaller than on the server side
on client side I have a DA4 table which I want to open fully
Table:=TBerichtenDATable.Create(nil,True); // from cache
This returns table.recordcount = 3 (or some other number)
on the server side I return the Binary dataset from a cache I create
Here we see DataSet.recordcount=53 which is correct.
My RO getdata function has interface
function TTaakService.OffGetCachedData(const aTableNameArray:StringArray;const TableName:string; const UserId: Integer; const Context: String; const MaxRecords: Integer): Binary;
and sets its result with
What could be the reason that an incorrect recordcount is returned?
FYI: I am debugging both server and client simultaneously in 2 delphi IDEs
Some extra info:
is opened with
DataSet := DATaakSchema.NewDataSet (Connection, tablename);
and has a recordcount of 53
however when i do
the recno is set to 51
so that seems why i get recno 51 to 53 but nothing more
when i do
the recno is set to 0
Why can I not trust the First and Last statements?