Subject | TIB_Query.Locate finds it even if it does not exist |
---|---|
Author | Ed Dressel |
Post date | 2003-09-03T16:47:04Z |
I have the following code:
lCnt := 0;
repeat
inc(lCnt);
lERName := lERBaseName + '_' + IntToStr(lCnt);
until not ibqEmployerInfo.Locate('EMPLOYER_NAME', lERName, []);
And it is always returning True, even though there are only ~20
records in the the dataset--and lCnt can get into the millions.
suggestions?
Thanks
Ed Dressel
lCnt := 0;
repeat
inc(lCnt);
lERName := lERBaseName + '_' + IntToStr(lCnt);
until not ibqEmployerInfo.Locate('EMPLOYER_NAME', lERName, []);
And it is always returning True, even though there are only ~20
records in the the dataset--and lCnt can get into the millions.
suggestions?
Thanks
Ed Dressel