Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ACCESS 2000 and a RDC
Message
From
18/09/2000 20:40:49
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
ACCESS 2000 and a RDC
Miscellaneous
Thread ID:
00417885
Message ID:
00417885
Views:
53
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
Map
View

Click here to load this message in the networking platform