Condividi tramite


Visual Basic Concepts

Data Access Guide

Welcome to the Visual Basic®Data Access Guide. This documentation discusses data access and connects to information on related tools and technologies.

This guide is divided into three parts. The first part covers tools and technology options. The second part presents tutorials that walk you through "scenarios" which employ the tools and technologies in real-world situations. The third part presents information on two older Visual Basic data access technologies, DAO and RDO.

Chapters

  • Accessing Data Using Visual Basic

    Introduces the different data access programming models available for accessing data, and discusses system and design issues that enter into a choice of a data access strategy. The emphasis is on ActiveX Data Objects (ADO), the new Microsoft technology.

  • Data Access Tools in Visual Basic

    Introduces mechanisms (such as the Query Designer and Database Designer) and technologies (such as Format Objects) that make data access programming easier.

  • About the Data Environment Designer

    This designer provides an extensive design-time interface that enables you to create and modify Data Environment objects.

  • Writing Reports with the Microsoft Data Report Designer

    This designer allows you to generate data reports from several different relational tables.

  • Tutorial: Interacting with Data in a Microsoft Jet/Microsoft Access Database

    Demonstrates how to use a data environment to create a Command object based on a Microsoft Access query, bind Visual Basic controls to fields in the query's recordset, create a master/detail form, and create a data-bound report.

  • Tutorial: Create a DHTML Application that Interacts with SQL Server Data

    Demonstrates how to create an application that adds a table to an SQL Server database; uses HTML pages to enter, view, and update data in the table; and uses an HTML page to view data returned by a stored procedure.

  • Tutorial: Interacting with Data in an ASCII Text File

    Demonstrates how to use a data-aware class and ADO to create a simple database application that interacts with data in a tab-delimited text file.

  • Converting from RDO 2.0 to ADO 2.0

    Discusses the changes needed to upgrade an existing RDO-based project to Microsoft's new data access technology.

  • Using Data Access Objects with Remote Databases

    Data Access Objects (DAO) is an older database technology that can be used either with the standalone Microsoft Jet database engine, or with direct access to remote data sources through the new ODBCDirect option. This section discusses DAO functionality in both modes, emphasizing the special design considerations of large scale client/server applications.

  • Using Remote Data Objects and the RemoteData Control

    Remote Data Objects (RDO) is an older database technology that provides a direct Visual Basic interface to remote ODBC data sources, and the RemoteData Control (RDC) makes this functionality available in a simple user interface control. This chapter provides a thorough discussion of the RDO/RDC features and functionality in client/server applications.