handle=fopen("mytable.dbf",12) >>>=fseek(handle,28) >>><d>lnPokeByte = bitand(fread(handle,1),0xFE)</d> && Remove CDX flag >>lnPokeByte = bitand(asc(fread(handle,1)),0xFE) >>>=fseek(handle,28) >>>=fwrite(handle,lnPokeByte,1) > >Minor correction: > >=fwrite(handle,CHR(lnPokeByte),1) > >>>=fclose(handle)Of course you should also check if you can have the handle and why not too.