Read only database

Hi,

I have to read data from a data base on a cd. This message always appear everytime a try to open my recordset : It is already opened exclusively by another user, or you need permission to view its data.

I copy my database on my hard drive... everything is ok... but this problem always occure when I try from the cd... I just want to read the data... no update !!

thanks

Marc_FortinAsked:
Who is Participating?
 
AveryHConnect With a Mentor Commented:
Your program might be trying to write a lock file to the directory where the database is stored. Since you are trying to access data on a CD and the CD is read only, you will get this error.

I got caught with exactly the same problem. Moving the database to the hdd fixed the problem
0
 
jhanceCommented:
Show your code.  How are you opening the database?  

Your question leaves WAY TOO much to the imagination.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
CD's are read only - check what flags you are setting in the call to read the record.
0
 
TriskelionCommented:
What brand database?
MDB?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.