Tuesday, December 11, 2007

How to use the ADO Control to connect to the database

How to use the ADO Control to connect to the database

To use the ADO Control to connect to the database

Step 1:

Left click on the ADO Control in the Form. Choose ADO Properties.

Step 2:

Click the Build Button:

Step 3:

Select the Microsoft Jet 4.0 OLE Provider. Click Next Button:

Step 4:

Select the Database Name. Click the &ldots;. Button:

Step 5:

Select the Database in the drive. Click Open Button:

Step 6:

Click the Test Connection Button to test if the connection is correct. The message box will tell you whether the connection is successful. Click the Ok Button.

Step 7:

Click Ok Button to connect to the database.

No comments: