Error message about Sand box Modus

  • Thread starter Thread starter Jan T.
  • Start date Start date
J

Jan T.

I am using ms Acess 2k3 and have downloaded a database. When I open
some of the forms, I am having problems. The warning is that some
expressions may not be safe or something. The forms is havely based on
macros and no vba code.

Now, I trust the file I have downloaded. How can I have my Access
tuned to accept those unsafe expressions? Is there a way to turn Sand
Box Modus on and off?

Any help is very much appreatiated.

Regards
Jan
 
On the Tools menu, choose Macros.

Click on Macro Security and set it to Low.
 
I am having the same problem with 2007. I have a database that when opened
in 2003 and macro security set to low - works fine. Can't figure out how to
fix it in 2007. Any experience/Advice?

ST
 
Thanks for the idea. I added the network folder from which I am running the
database and, unfortunately, am still getting the error message. I added the
folder with the full network path. Is that incorrect? What else might I be
missing?

The VB is simply:
docmd.openreport "Name", acViewXxx

Thanks again.
 
I've changed the registry key and still am unable to run the simple VB. I've
even tried the same three tasks on a different machine running Office 2007.
1. Enable all macros
2. Add folder to allowed locations
3. Changed jet registry and set value to 0.
Same error message appears when trying to click a button on a form tied to
docmd.openreport.

I'm open to any further suggestions! Thanks for all your help!

ST
 
VB? You're trying to use an ACCDB from pure Visual Basic (not VBA in
Access)?

If so, try including a reference to:
C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE12\ACEDAO.DLL
instead of the DAO 3.6 library.
 
Apologies! No it IS just VBA. Nothing complex. I've even tried to use the
wizard to recreate the button to open the report (assuming that Access would
create the button with the appropriate VBA code for security settings) still
the same error.
 
The registry key you cited earlier
(\\HKEY_LOCAL_MACHINE\Software\Microsoft\Jet\4.0\engines\SandboxMode)
wouldn't be applicable for an ACCDB either, would it Allen?
 

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

Back
Top