ADO Data Control
Visual Basic 6 gives us the choice of technique when programming with database, or use DAO as in the previous two articles, or are using ADO (ActiveX Data Objects) .
The main difference between ADO and the ADO DAO allows us to work with any type of data sources (data sources), not necessarily the Access database or ODBC. Data sources can be a list of email addresses, or a text string, where each row is a record consisting of fields separated by commas ( comma separated values ).
If the DAO is used directly in the name of the Database MSAccess ADO us connected (connect) a database through a Connection by specifying a Connection String . In the Connection String Database Provider (such as Jet, ISAM, Oracle, SQLServer, etc. ..), Database name, username / password logon to a database. etc. Then we can retrieve (extract) the recordsets and update the records using the SQL command used on the tables or stored procedures inside the database.
The main difference between ADO and the ADO DAO allows us to work with any type of data sources (data sources), not necessarily the Access database or ODBC. Data sources can be a list of email addresses, or a text string, where each row is a record consisting of fields separated by commas ( comma separated values ).
If the DAO is used directly in the name of the Database MSAccess ADO us connected (connect) a database through a Connection by specifying a Connection String . In the Connection String Database Provider (such as Jet, ISAM, Oracle, SQLServer, etc. ..), Database name, username / password logon to a database. etc. Then we can retrieve (extract) the recordsets and update the records using the SQL command used on the tables or stored procedures inside the database.