0% found this document useful (0 votes)
24 views

Week 3 Database Access

This document provides steps for connecting an Access database to VB Studio 2019. It instructs the user to create a new VB project, connect to an existing Access database by selecting it as the data source and testing the connection, configure the database and view tables on a form, drag database fields to a data grid view on the form, and run the application to view database records. The steps are presented over 6 pages to guide connecting an Access database for use in a VB application.

Uploaded by

Stephen Adingo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Week 3 Database Access

This document provides steps for connecting an Access database to VB Studio 2019. It instructs the user to create a new VB project, connect to an existing Access database by selecting it as the data source and testing the connection, configure the database and view tables on a form, drag database fields to a data grid view on the form, and run the application to view database records. The steps are presented over 6 pages to guide connecting an Access database for use in a VB application.

Uploaded by

Stephen Adingo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

GHANA CHRISTIAN UNIVERSITY

COLLEGE
SCHOOL OF SCIENCE AND TECHNOLOGY

BSc INFORMATION TECHNOLOGY


SCIS 2523:
OBJECT ORIENTED PROGRAMMING II
(3-CREDIT)
Week 3: LAB 1:
Connecting Access Database to VB 2019.
6/4/2020 SCIS: 2513 2019/2020 1
Creating MS Access Database

• Refer From your Database lessons

6/4/2020 SCIS: 2513 2 2019/2020


Steps for Connection Access
Database to VB Studio 2019

• Create a New Project


– Click Windows application Form

– Click Next

– Write your New Project Name

6/4/2020 SCIS: 2513 3 2019/2020


Steps for Connection Access
Database to VB Studio 2019
• Connecting VB to a Database
– Look for your data source
• Go to View
• Other Windows
• Clink “Add new data source”
– Click Database, Click Next
– Select Dataset, click next
– Click New Connection (Search for your database)
• Click to open your database
– Click on Test Connection ( Clink Ok, then Ok)
6/4/2020 SCIS: 2513 4 2019/2020
Steps for Connection Access
Database to VB Studio 2019
• Database Configuration
– Click the table check box
– Click the “Finish button”
• Viewing Database on the Form
– Under Register, Click on details and drag to the Form
– Arrange the table
– Click the Form toolbox and Click on “DataGrid View” and
drag to the form
– Go back to the Data Source, Click on DataGrid View and
drag it onto the Form DataGrid View
6/4/2020 SCIS: 2513 5 2019/2020
Steps for Connection Access
Database to VB Studio 2019
• Running the Application
– Click on the start button to see the output
– You can add more records and others

6/4/2020 SCIS: 2513 6 2019/2020


END OF LECTURE

THANK YOU

6/4/2020 SCIS: 2513 2019/2020 7

You might also like