Error Handling – MS Access

Error Handling in MS Access

My Journey with Camtasia

These are some of the first videos I did using a program called Camtasia. I made them in 2007, and I am keeping them for nostalgia. 😌 Really, I need to update these and add some more videos because this is a very interesting subject 🎯 – error checking in Microsoft Access, indeed in any programming language. πŸ–₯️

Error Checking: The Tightrope Walker’s Net for Programmers

Error checking is the tightrope walker’s net for programmers. You could manage with an old football goal-net ⚽, but you are better off with a more sophisticated net. It’s definitely better than having no net at all! πŸ˜…

Command Button With Error Code

Command Button With Error Code

Video 1Β (3.05)

Demonstration of how to create a command button on an MS Access form with the command button wizard. The significance is that the command button wizard automatically adds error code to the on click event of your command button.

Video 1Β (3.05)

Nifty Access YouTube Thumb Nail
Play Video

… …

Command Button Without Error Code

Command Button Without Error Code

Video 2 (1:52)

By creating a command button without using the command button wizard, you end up with a command button with no error checking code in it.

Video 2 (1:52)

Nifty Access YouTube Thumb Nail
Play Video

… …

Force an Error WITHOUT error checking

Force an Error WITHOUT error checking

Video 3 (1.45)

Force an error by dividing ten by zero, demonstrate how this code called from a command button without any error checking code in it performs.

Video 3 (1.45)

Nifty Access YouTube Thumb Nail
Play Video

… …

Force an Error WITH error checking

Force an Error WITH error checking

Video 4 (4.03)

Again generating an error by dividing ten by zero, this time the error is triggered by a command button with error checking code, this shows the user your own custom MessageBox instead of the built in MS Access error message box.

Video 4 (4.03)

Nifty Access YouTube Thumb Nail
Play Video

… …

Looking at the Code

Looking at the code

Video 5 (3.36)

A detailed look at the error code generated by the Microsoft Access wizard, the β€œon error” instruction and the β€œGoto” instruction a brief description of labels and some ideas on how to use the resume statement.

Video 5 (3.36)

Nifty Access YouTube Thumb Nail
Play Video

… …

More Useful Stuff HERE:-

This website uses third-party software - WordPress Add-Ins to be exact. I don't know what any individual add-in does, but I'm sure that many of them collect information about you. So be aware, if you continue using this site, then you are likely to be sharing your information. I don't know how to disable this sharing for any, or all of the plugins for individual users. So I can't stop the sharing of information. If this worries you then please do not use this site... If you continue to use this site I will assume that you are happy with it.

Do you need a hand in the right direction?

You are in the right place.