J
jeffro
I'm using Access 2003 and conneting to a SQL Server Database.
When the database first opens, a vba function is called and creates the
dns-less connection and it works great if the server name and database name
exists.
If I change either the servername or database name to a non-existant one,is
there a way to trap the default "SQL SERVER Error: 4060" message in VBA?
The on error go to trap does find that it's access err.number 3059...but the
4060 error message pops up prior to the trap.
Thanks in advanced!
When the database first opens, a vba function is called and creates the
dns-less connection and it works great if the server name and database name
exists.
If I change either the servername or database name to a non-existant one,is
there a way to trap the default "SQL SERVER Error: 4060" message in VBA?
The on error go to trap does find that it's access err.number 3059...but the
4060 error message pops up prior to the trap.
Thanks in advanced!