Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[Teradata][ODBC Teradata Driver] invalid Attribute

Status
Not open for further replies.

sajisher

Programmer
Dec 3, 2003
45
US
Hi,

When trying to open connection 'Conn.Open strConn' in the code below, getting the following message: Any cluee/link please. I am trying different things like reinstalling teradata odbc driver but not successful.

[Teradata][ODBC Teradata Driver] invalid Attribute

But this connection works from some functions but fails in some.

Dim Conn As ADODB.Connection
Dim strConn As String
Dim strPass As String = "abc"
Dim strUser As String ="xyz"
Dim strOdbcName As String ="db"

strConn = "Password=strPass;" & _
"User ID=strUser;" & _
"Data Source =strOdbcName;" & _
"Persist Security Info=False"

Set Conn = Nothing
Set Conn = New ADODB.Connection
Conn.Open strConn

thanks saj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top