------------------------
Looks like you have to specify the parameter in a
recordset object of the. The openrecordset() method has a
options parameter wher you can us "dbDenyRead" on the
recordset. This means that other users can't get to the
tables/fields specified in your recordset query, however,
they can get to other parts of your DB.
Hope this helps.
Ed.
--------------------
Quote:>-----Original Message-----
>How can I lock down an access database so that it will
not
>allow write access if someone else has it open? Is there
>VB code that can recognize at run-time if the database is
>open? (If daoControl.Open Then ...) Something like this,
>although I know the .Open won't work.
>Thanks,
>JF
>.