I am having a problem with on error, appreciate some simple advice to overcome this.
For the sake of the exercise TTemp2 is locked.
on error goto bad1
Fsys.DeleteFile TTemp2, force
bad1: if err.number=70 then
allok:on error goto 0
If the file stays locked on error 70, how do i (via a command button??), tell the program to forget the error and get on with the next section of the program.
Appreciate any help