BruceG ok version difference maybe
We use vb5 sp3 and it does produce a runtime error. Maybe this is not the case in vb6. I personnally know it does coz my boss (the creature from the black lagoon, Kim if you are reading this am only joking), dragged me across the coals for introducing this bug into a release version of our software.
On Error was put in to trap database connection errors. Got an error executed the MsgBox and boom runtime error. Replaced the Err with Str(Err) problem resolved.
Hmmm...should have mentioned version in original post...another arguement for adopting vb6