alash96
10-26-2004, 04:52 AM
Hi,
I've having a strange problem with MoveFile.
My program works this way.
First, it will create 4 different files if they do not exists e.g. XXShop.mdb where XX is the code of the shop.
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.
The strange thing is, the first 3 files work ok. But the last file will ALWAYS get permission denied error. :confused: :confused:
Please help!!
I've having a strange problem with MoveFile.
My program works this way.
First, it will create 4 different files if they do not exists e.g. XXShop.mdb where XX is the code of the shop.
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.
The strange thing is, the first 3 files work ok. But the last file will ALWAYS get permission denied error. :confused: :confused:
Please help!!