Re: Python adodb

2005-10-13 Thread gt182
Thank you everyone for your posts. Listed below is the correct code, solution reached. And to include the username and password you can simply inter it behind Persist Security devieded off with semicolons. con = win32com.client.Dispatch(r'ADODB.Connection') DSN = r'Provider=Microsoft.Jet.OLE

Re: Python adodb

2005-10-12 Thread LenS
You also might want to take a look at; http://www.mayukhbose.com/python/ado/index.php I found it very helpful LenS -- http://mail.python.org/mailman/listinfo/python-list

Re: Python adodb

2005-10-12 Thread LenS
I have used the following code in ADO: # The following code creates a connection object, # assigns the connection string, opens the # connection object, and then verifies a good # connection. oConn = Dispatch('ADODB.Connection') oConn.ConnectionString = "Provider=SQLOLEDB.1;" +\

Re: Python adodb

2005-10-12 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > In trying to use the adodb module, I have had good success. However I > need to access a database with a username and password at this time. I have used a connection string like this to connect to MS SQL Server from adodb: connStrSQLServer = r"Provider=SQLOLEDB.1; User

Python adodb

2005-10-12 Thread gt_mac
In trying to use the adodb module, I have had good success. However I need to access a database with a username and password at this time. And cannot find a way to do it without using a ODBC or other older techniques. Can someone help me with this, below is the code I am currently attempting to use