Hi
What i'm trying to do is instead of my program crashing when I get a 'runtime error 3021' - no current record

Is there a way I can say something like if this error appears in my 'run' sub then bring up a message box saying 'No such record' and then on pressing ok call my 'ClearForm' sub that clears all the form ready for data to be entered again?

Thanks in advance for any advise