General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
ACCESS 2000 and a RDC
I'm trying to bind a RDC in code so I cant get rid of the ODBC manager dialog. If I set every thing in the control, after I pick the DB I'm fine.
Here is what I have in my form.load:
sConn = "ODBC;Database=d:\data\accounting.mdb;" _
& "UID;PWD;DSN=MS Access;"
Me.MSRDC1.Connect = sConn
Me.MSRDC1.DataSourceName = "MS Access"
Me.MSRDC1.Prompt = rdDriverNoPrompt
Me.MSRDC1.sql = DU.BuildSqlStmt(mSql)
Me.MSRDC1.Refresh
Thanks
Mike D
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only