&nbsp;<BR>Just a simple question really....<BR>How do I do it!!!!<BR><BR>I have a simple ODBC connection and an Access system database implemented and am programming asp stuff with JavaScript. My main concern at the mo is trapping the invalid user id or password error...<BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039 80040e4d&#039 [Microsoft][ODBC Microsoft Access Driver] Not a valid account name or password. <BR><BR>...so I can present the error in a nice fashion to the user. Obviously solving this problem will help me trap other errors too though.<BR><BR>I can see that with VBScript I would use "on error resume next" and then you would have to call a Error handler subroutine after each action, but what&#039s the JavaScript equivalent, I&#039ve already written all my other stuff using JavaScript, so don&#039t want to have to switch to VBScript!<BR><BR>would appreciate any help anyone could give<BR><BR>cheers<BR>Chris