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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access Database, ODBC and VB7 (.NET)

Status
Not open for further replies.

mattyjenks

Technical User
Oct 19, 2001
108
GB
im am fairly new to VB and have trawled though hugh amounts of code but
cannot find it any where!

What i want is a simplke bit of code that i can use to connect to an ODBC
connected MS Access database
 
Here is a sample of the constant I use for the connect string.

Const ODBC_CONNECT As String = "ODBC;" _
& "DBQ=D:\Groups\SDV\DMATS\scking\CompDb\CompData2k.mdb;" _
& "Driver={Microsoft Access Driver (*.mdb)};"

Steve King Growth follows a healthy professional curiosity
 
What control do you use to link the data in the database to a text box?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top