Error messages

L

LindaBee

Hi I hope this is straight forward. I have created a database for multiple
users some not very computer literate. The problem I forsee is that when you
abandon some oprations you get an error message asking if you would like to
debug etc this will confue some users.

Is there a way of disabling this pop up or enterring a custom message which
is eaasier for the user to understand such as please close application and
restart or something along those lines

Thanks in advance
 
A

Allen Browne

Are you using macros or code? You need to use code to solve this.

For example, if you use the OpenReport action in a macro, and the report is
cancelled (e.g. by its NoData event), Access throws error 2501 to let you
know the report did not open. If you use code, you can use error handling to
trap this error and do whatever you wish (such as just ignoring the error
without any dialog.)

If you are not familiar with code, this may be a learning curve. Here's a
basic example to open a report:
http://allenbrowne.com/casu-15.html
Now you will want to know how to work with error handling:
http://allenbrowne.com/ser-23a.html

HTH
 
L

LindaBee

Thanks Allen I will give it a go by the way I used your code for tracking
changes and it works a treat thanks again
 

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