I agree, and this is my normal technique, I just thought that I'd point out this nasty little hole in the documentation. I now have several procedures tp re-write and re-test. Thanks MS:-))
>Yes,
>Integer there is 16 bits not 32 bits and limit is 65535 signed (-32767...0..32767).
for ix = 32760 to 40000
> this.addlistitem(str(ix),iif(ix<=32767,ix,ix-32767),1)
>endfor
Of course question is now what would happen you exceed that limit too. Probably I would keep actual recnos in cursor and use cursor recno()s as nItemId.
>Cetin