Sei sulla pagina 1di 15

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : Y. Vijaya Bhaskara Reddy
Designation : Senior Lecturer
Branch : Commercial and Computer
Practice
Institute : G.P.W ., Kakinada
Year/Semester : VI Semester
Subject : Visual Basic – II
Subject Code : CCP – 603
Topic : Database Programming
Duration : 50 Mts
Sub Topic : Data Access Objects
Teaching Aids : PPTs
CCP603.13 1
Objective :

On completion of this period, you would be


able to:
 Know about Data Access Objects

CCP603.13 2
Structure Of The Period :

 What is DAO
 History of DAO
 Terminology of Data Access
 General Characteristics of DAO

CCP603.13 3
Recap :
 There are 3 important properties to be set
for a data control
 They are :
 Connect
 Database Name
 Record Source
 They can be set by selecting the
appropriate database type, database file
and table name respectively
CCP603.13 4
What is DAO :

 Data Access Objects is a general


programming interface for database access
on Microsoft Windows
 Data Control and Data Access objects are the
interfaces used to connect to the Jet
Database engine

CCP603.13 5
History of DAO :

 DAO 1.0 came up in November 1992


 Later (in version 3.5) it was able to go beyond
the Jet engine and access ODBC data
sources, including Microsoft SQL Server and
other enterprise database systems
 DAO 3.6 was the final version developed by
Microsoft

CCP603.13 6
Terminology of Data Access:
 DAO Data Access Objects
 ADO ActiveX Data Objects
 RDO Remote Data Objects
 ISAM Indexed Sequential Access
Method
 ODBC Open Data Base Connectivity
 API Application Program Interface

CCP603.13 7
Terminology of Data Access :
 Data Access Objects (DAO) provide data
access to native Microsoft Jet engine databases
(.mdb files), selected ISAM databases, and any
ODBC data source
 Historically, DAO is a popular solution when it
comes to using Microsoft® Access (.mdb) and
ISAM data sources such as Btrieve, FoxPro,
Paradox, and dBase

CCP603.13 8
General Characteristics of DAO :

The general characteristics of DAO are:


 Difficulty in coding
 Flexibility, with facilities to access many different
data sources
 Adequate-to-slow performance
 Dynamic Data Language (DLL) functionality
 Support for complex cursors

CCP603.13 9
Summary :

 Data Access Objects is a general


programming interface for database access
on Microsoft Windows systems
 DAO is a popular solution when it comes to
using Microsoft® Access (.mdb) and ISAM
data sources such as Btrieve, FoxPro,
Paradox, and dBase

CCP603.13 10
Summary :

 DAO is relatively old and slow technology


when compared with ADO and RDO
 DAO is difficult for coding
 DAO 3.6 is the final version in this
technology

CCP603.13 11
Quiz :
1. What does DAO stands for ?
Ans: Data Access Objects

2. What does ADO stands for ?


Ans: ActiveX Data Objects

3. What does RDO stands for ?


Ans: Remote Data Objects

CCP603.13 12
Frequently Asked Questions :

1. Briefly explain DAO.


2. Narrate the history of DAO.

CCP603.13 13
Assignment :

1. List out the general characteristics of DAO.


2. Write short notes on:
DAO, ADO, RDO.

CCP603.13 14
Thank You

CCP603.13 15

Potrebbero piacerti anche