Lock project for viewing

  • Thread starter javiernews via AccessMonster.com
  • Start date
J

javiernews via AccessMonster.com

Hi

I try the following code in order to know if my VBA code is lock project for
viewing. But an error 2091occurs,....... (lock project for viewing is an
invalid Name)

Function fTest()
Dim varTest
varTest = Application.GetOption("lock project for viewing")
MsgBox varTest
End Function

QUESTION: How to know if your current DB is locked for viewing pragmatically
(by code) ???

Thank you !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top