>Make sure to look at your app's existing Reindex procedures. I've seen quite a few pieces of code that flips the value of header bytes that in 2.x used to control whether the table has an associated CDX, and now controls -- you guessed it -- information about the memo file. <g>
I've noticed on time, so I reset only the lowest bit of it, like this:
...
=fseek(Handle_ln,28)
cbyte_ln=BitAnd(asc(fread(Handle_ln,1)),254)
=fseek(Handle_ln,28)
=fwrite(Handle_ln,chr(cbyte_ln))
...