Hi guys! I'm hoping you can steer me in the right direction on this. Here is a snip of the code I'm using to connect to a MS SQL database.
This works just fine. But I've set the UserID and Password in my class. What I want to do is let the DSN I've setup on my PC to use the userID and password that is established in it.
So I modify my code like this.
Or
Compile and run the application and I get a SQl Exception - Login failed for user '<null>'
Am I missing something here or is the JdbcOdbcDriver not up to this?
Thanks for any help you can offer.
Steve
Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."