Barbara
var
x LongInt
n SmallInt
tc TCursor
endvar
tc.open("TABLE1.DB")
x = tc.nRecords()
tc.edit()
tc.home()
for n from 1 to x
message(n)
tc."MyField".blank()
tc.nextRecord()
endfor
tc.endedit()
tc.close()
msginfo("","Done")
endmethod
Run the form, then push the button. It will give you the Done message when it
is finished.
If the table is password protected, be sure to put the master password in
before running this.