devxlogo

Oracle via ODBC

Oracle via ODBC

Question:
I am using Visual Basic as my front-end tool to read an oracle 7 database residing on an oracle network. I have completed the connection stage. I am using ODBC connection with Data Control to access the database.Whenever I Load a new screen which reads a new table, the ODBC dialog box appears asking the user to login. Is there a way to save the connect string in order to allow the user to only login 1 time ?

Answer:
What you may want to do is to create your own logon box. Then, whenever you know Oracle is going to ask for a password or as you are setting up your data controls, supply the password/user ID to the control in the Connect string. That will, except in cases where the user types the wrong passwd, prevent the Oracle logon box from coming up.

devx-admin

Share the Post: