Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot use MDB when stored on CDROM (Read-Only)
Message
From
22/05/1998 08:57:00
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00100357
Message ID:
00101131
Views:
20
>Hi ,
>
>I can't use a Access database when it is stored on a CDROM, it says it is Read-Only (which is normal), I only want to READ data, not WRITE records.
>
>Is their a prop to set, or a workaround to avoid this error message ?
>
>Thanx in advance.
>
>Sincerely,
>
>QUICK Peter
>Software Dev CompuGuide
>info@compuguide.be
>www.compuguide.be

A database can be opened read-only, only i'm not sure if on the CD u got to have the .ldb file before.
Look in help under OpenDatabase Method (DAO Reference).
Cut from the help:

Set database = workspace.OpenDatabase (dbname, options, read-only, connect)

read-only Optional. A Variant (Boolean subtype) value that is True if you want to open the database with read-only access, or False (default) if you want to open the database with read/write access.

Recommended is also that u open the db exclusively.

Hope this helps!
Previous
Reply
Map
View

Click here to load this message in the networking platform