Changes

Jump to: navigation, search

Accessing Databases Using Visual Basic

1 byte removed, 17:58, 9 August 2007
no edit summary
The examples in this chapter work with a Microsoft Access database. The concepts covered, however, apply equally to other databases such as Microsoft SQL Server.
The chapter assumes that you have Microsoft Access installed together with the "NorthWind" sample Access database. This can usually be found in Program Files\Microsoft Office\Office''nn''\Samples\Northwind.mdb" (where ''nn'' signifies your version of Office). If you are unable to locate this database on your system it can be downloaded from [http://www.microsoft.com/downloads/details.aspx?FamilyID=C6661372-8DBE-422B-8676-C632D66C529C&displaylang=en Microsoft's web site].
== Connected to a Database ==
[[Image:Exampl.jpg]]
Click on the ''Browse'' button and locate the ''Northwind.mdb" '' database. Once you have selected the Northwind database click on the ''Test Connnection'' button to verify the database is accessible.

Navigation menu