There are a number of questions to consider as you choose a data access technology:
You can use the differing data access technologies to implement many useful data access and application communication strategies. These are listed in the following table.
Your best choice is… | If your application requires… | Remarks |
ADO | Mainframe data or program communications. | With Microsoft® SNA Server, you can set up OLE DB data providers for mainframe data sources such as VSAM, CICS, IMS, and AS/400 files. |
Reengineering. | For existing applications, you should consider reengineering with ADO. As an alternative, you could continue with previous data access methods. | |
New development. | For all new development you should use Microsoft's ADO data access technology. | |
Uniform access to a variety of data sources and data types. | ADO is a common interface for all data access requirements. | |
Fast development. | ADO helps minimize development cost because it is uniform, consistent, and easy to use. You can train your developers once and benefit continuously thereafter. | |
High performance. | ADO is very fast. | |
Internet Information Server's (IIS) Active Server Pages (ASP). | If your application uses IIS with ASP to generate browser-independent HTML from databases, you must use ADO. | |
OLE DB | Custom file access. | You can write custom OLE DB data providers for virtually any data source. You can then use ADO as the data access technology. |
RDO | Fast access to existing ODBC data. | RDO is very fast. |
ODBCDirect | Access to ODBC data. | ODBCDirect provides a performance improvement over the older DAO data access technology. |
DAO | Enhancements to existing DAO data access. | DAO provides a consistent programming model for situations where some of the data access services must be provided using Microsoft Jet. If you already have large amounts of DAO code, and are willing to overlook the design, coding, and performance benefits provided by ADO, there's no reason to change it. |
Running within a 16-bit environment. | DAO is the only choice. | |
ODBC | Fast access to existing ODBC data. | If you're willing to develop and maintain complex code using the ODBC API, this is a good choice. |