I have an Access 97 database that connects to Oracle through ODBC using the following procedure:
Function EstablishConnection()
On Error GoTo EstablishConnection_Err
Dim db As Database
Dim dbCurrent As Database
Set dbCurrent = CurrentDb()
Set db = OpenDatabase("", False, False, "ODBC;DSN=LIVE;SERVER=tropos;UID=ROLIVEDB;PWD=ROLIVEDB")
Exit Function
EstablishConnection_Err:
'If Err.Number <> 0 Then
MsgBox "Unable To Connect To Tropos Database - Please Try Later" & vbCrLf & "The Database Will Now Be Closed", vbCritical
DoCmd.Quit acSave
'End If
End Function
However recently the database always requires users to enter the Oracle ODBC passwords, previously it did not.
We have recently upgraded from Windows NT to Windows 2000 and this is when the problems started.
How can I get the ODBC connection details to be remembered so that the user doesn't have to keep retyping it?
Thanks.
Function EstablishConnection()
On Error GoTo EstablishConnection_Err
Dim db As Database
Dim dbCurrent As Database
Set dbCurrent = CurrentDb()
Set db = OpenDatabase("", False, False, "ODBC;DSN=LIVE;SERVER=tropos;UID=ROLIVEDB;PWD=ROLIVEDB")
Exit Function
EstablishConnection_Err:
'If Err.Number <> 0 Then
MsgBox "Unable To Connect To Tropos Database - Please Try Later" & vbCrLf & "The Database Will Now Be Closed", vbCritical
DoCmd.Quit acSave
'End If
End Function
However recently the database always requires users to enter the Oracle ODBC passwords, previously it did not.
We have recently upgraded from Windows NT to Windows 2000 and this is when the problems started.
How can I get the ODBC connection details to be remembered so that the user doesn't have to keep retyping it?
Thanks.