RunCommand acCmdToggleOffline runtime error 2501

S

SandyZ

I am working with Access 2007 connected to SharePoint. I am NOT in runtime
mode.

When I try to use DoCmd.RunCommand acCmdToggleOffline or
Application.RunCommand acCmdToggleOffline to toggle on or offline, I get a
runtime error 2501. I am able to use CurrentDb.Properties("hasofflinelists")
to check the state of on or offline, but cannot go online programmatically.
What do I need to do to make this work?

Thanks for your help.
 

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