Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Security

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-14-2010, 01:03 AM
dreamweaver547 dreamweaver547 is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2010
Posts: 4
dreamweaver547 is on a distinguished road
Default OnCurrent error

Hi,

I got this error message on a MS Access 2003 database at work (whenever the form is opened or the user goes backwards and forwards from record to record this comes up):

Quote:
The expression On Current you entered as the event property setting produced the following error:Access failed to evaluate one or more of your expressions because 'DoCmd' was referenced in an expression. Only functions and properties that are considered to be safe are allowed in expressions when Access is in sandbox mode.

* The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, event, or macro.
Changing the macro security level to low resolves this problem and there are no error messages that pop up. But this isn't really acceptable at work.

Has anyone else come across this problem and found an alternative solution?


Thanks.
Reply With Quote
  #2  
Old 03-14-2010, 11:45 AM
ajetrumpet ajetrumpet is offline Windows Vista Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Mar 2010
Location: iowa city, ia
Posts: 83
ajetrumpet is on a distinguished road
Send a message via MSN to ajetrumpet Send a message via Yahoo to ajetrumpet
Default

google is so easy to use, why not do it?

http://www.google.com/search?hl=en&s...&aqi=&aql=&oq=
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.