if cdsFind.RecordCount 0 then
begin
do stuff - that works OK
end else
begin
cdsFiltered:=false;//= crashes here
Erm, should that not be cdsFind.Filtered := False; ?
cheers,
peter
===
Peter Hyde, Development
Yes - I just manually typed some code into the email as its on a separate PC
and made a typo.thats not the problem as the original code does have as
you suggest.
John
Erm, should that not be cdsFind.Filtered := False; ?
___
NZ Borland
I solved the filtering problem - well had to work around it. The dataset
concerned hads stacks of events on scroll etc, and I found if I opened a
fresh copy of the dataset with clean data and no events it worked fine.
So I have a nice tool - can search anywhere in a dataset for any string (ie