Está en la página 1de 16

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 : Visual Data Manager
Teaching Aids : PPTs
CCP603.19 1
Objective :

On completion of this period, you would be


able to:
 Know about Visual Data Manager

CCP603.19 2
Structure Of The Period :

 Visual Data Manager


 Entering Data
 Connecting the table to the form

CCP603.19 3
Recap :
 VisData is an application that was created
using Visual Basic 5.0
 It is useful to create/open Databases in
MS-Access, dBase, Paradox, FoxPro, etc,.
 New tables can be created by right clicking
on the properties option

CCP603.19 4
Visual Data Manager (VisData):

 Visual Data Manager is a useful Add-in tool


in main menu to create databases in MS-
Access
 In continuation to the previous session, we
will now use the Database created already,
i.e., ‘GPT’
 To open this database, select File → Open
→ Database → Microsoft Access

CCP603.19 5
Visual Data Manager (VisData):

 In the open database dialogue box, select


the GPT.mdb file and click OK
 The selected database file is loaded into
Visual Data Manager with all the tables in it
 Now, it will show the table ‘MARKS’ with all
the fields created by us

CCP603.19 6
Entering Data :
 To enter data into the ‘MARKS’ table,
right click on it and select ‘open’
 A new dynaset window is displayed as
shown below:

CCP603.19
Fig - 1 7
Entering Data :
 To enter a new record in ‘MARKS’
table, click on the ‘Add’ buttons
 A new dynaset window is displayed as
shown below:

Fig - 2
CCP603.19 8
Entering Data :
 Now enter the data for each record and
press the ‘Update’ button every time a
record is completed
 After finishing the data entry, to save click
‘Update’ button;to cancel record,click
‘Cancel’ button
 In this window, data can be viewed record
by record

CCP603.19 9
Entering Data :

Data entered in ‘MARKS’ table Fig - 3


CCP603.19 10
Connecting the table to the form :

 To connect this table to the form, a data


control can be used
 The procedure to connect tables to the
form through a data control is already
practiced by you
 The same procedure can be adopted here
taking into account the location of the
‘GPT.mdb’ file

CCP603.19 11
Summary :
 Visual Data Manager can be used to open
existing databases in MS-Access
 To enter the data in table, right click on the
table and select ‘Open’
 To enter a new record, select ‘Add’ button
 To save the record, select ‘Update’ button

CCP603.19 12
Quiz :

1. To open an existing database what is the


option ?
Ans: File → Open Database →
Microsoft Access

4. How to add a new record ?


Ans: Click on ‘Add’ button

7. How to save the entered record ?


Ans: Click on ‘Update’ button
CCP603.19 13
Frequently Asked Questions :

1. Explain the procedure to create databases


and tables using Visual Data Manager.

2. Explain the procedure of adding records to


a table using Visual Data Manager.

CCP603.19 14
Assignment :

1. Open Visual Data Manager.


2. Open an existing database in Access.
3. Open the table to add records.
4. Enter the new records and save

CCP603.19 15
Thank You

CCP603.19 16

También podría gustarte