> > Actually error is not expected here. > > In C++ exists rule: > what is not ZERO it is TRUE. > only ZERO is FALSE. > > It is strange that it returns all records. Yes, only 2 records had changed=1, the 4000 others didn't > > I hope that if you use = 1 it works correct, yes? > Yes, that works correct Best regards, Florian