Hi, <BR><BR>I've having a strange problem with MoveFile.<BR>My program works this way.<BR><BR>First, it will create 4 different files if they do not exists e.g. XXShop.mdb where XX is the code of the shop.<BR><BR>After quite a bit of processing, I'll check if there is any data in the XXShop.mdb files. If there is, I'll set a moveFlag to 1 then use MoveFile to move the files from current location to another destination.<BR><BR>The strange thing is, the first 3 files work ok. But the last file will ALWAYS get permission denied error.<BR><BR><BR>Please help!!