Escolar Documentos
Profissional Documentos
Cultura Documentos
1.
2.
3.
4.
Make a Microsoft Access Database with Required Columns to store Data from your Application and save it.(remember the table name)
2
Go to
Now we have to make ODBC Driver for Database. Follow these Steps.
>
>
>
Select (*.mdb ,*.accdb) Because we are using MS Access .mdb & .accdb are the Extensions for the Access 2003 and Access 2007 file
** In Windows 7 this option may not be there, Scroll down to last page to see what to do in this situation But the remaining steps are same.
1. Select the Database you made for Application. 2. Give some name for your Database ODBC Driver . (Here apple is our ODBC DriverName) 3. Click OK.
3
Email:varundaga2007@gmail.com
Now we are done with Making ODBC Driver for Our Database.
1. Make a database suitable for your Application 2. Make ODBC Driver for your database 3. Add ADODC Control to Your VB Application
Email:varundaga2007@gmail.com
Email:varundaga2007@gmail.com
Click Here
Our Database is Connected through ODBC Driver and ADODC ,Now we need to Specify the Table name we made in Access, Suppose the table name is Table1 The table name is to specified in the RECORDSOURCE property of Adodc1. 1. Click on Adodc1. 2. Check the Properties of Adodc1 in the Right hand side of Screen.
Click Here
Email:varundaga2007@gmail.com
See the Table names are appearing in the List. Select the required table Means 50% of Connection is Successful.
4
Now our database is indirectly connected to Adodc1
3 1 2
Email:varundaga2007@gmail.com
1. Select the Text Box 2. Check the Properties of the textbox in the Right hand side. 3. Two Properties to be changed here. ( Data Source and Data Field )
1. DataSource : Adodc name 2. DataField : Column name First set the DataSource name then Datafield
Email:varundaga2007@gmail.com
1.
2.
If your connection is 100% correct then this list of Columns will appear from your table. Assign the Particular Column name to the respective Text Box & thats all, similarly do same thing for the remaining textboxes
-----------------------------END---------------------------ODBC Driver for Windows 7 (32 bit & 64 bit) Follow the following path to get compatible ODBC Driver.
C:\Windows\winsxs\x86_microsoft-windows-m..-odbc-administrator_31bf3856ad364e35_6.1.7600.16385_none_44263d819f0aa19e
Or , Go to
C:\Windows\winsxs and search for file odbcad32 This tutorial assumes Reader have basic Knowledge of VB 6.0 and MS Access For any Feedback / Suggestions / queries or to say Hi mail me at varundaga2007@gmail.com www.facebook.com/varundaga2007
10
Email:varundaga2007@gmail.com