Hide Code on Error?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello, how do i prevent users from viewing code on error? there used to be
setting in previous versions in Startup, but thats gone in 03.
help !
 
I believe the setting you're looking for is in the Options of the Code
Editor, not the main Access window. In to code editor, go to
Tools|Options|General tab.

However, the best way to keep the users from seeing the code is to put an
error handler in all of your procedures.

On Error GoTo LabelName
or
On Error Resume Next

For more information on using On Error, see this link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vastmonerror.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vastmresume.asp
 
It's still in the startup options. It's the 'Use Access Special Keys' check
box in the bottom left of the box.
 
Back
Top