By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,515 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,515 IT Pros & Developers. It's quick & easy.

error 70

P: 1
I want to copy a microsoft access database (xxx.mdb)
when I write the code
FileCopy ("C:\PAPER4\db1.mdb"), Lblpath.Caption & "\paper4.mdb"
, It displays "run-time error 70 , Permission denied "
What do I do in order not to have this error, please help!
Sep 1 '07 #1
Share this Question
Share on Google+
1 Reply


QVeen72
Expert 100+
P: 1,445
Hi,

If Database Connection for that Database is open, or u have opened the Database in Access/Visdata/Dataproject... U cannot Copy the mdb file, U have to close the ADO or DAO (whatever Conn) u have opened in Proj, and close all the connections for that mdb, and u can use "FIle Copy"

REgards
Veena
Sep 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.