0% found this document useful (0 votes)
22 views11 pages

LAB 3 Database SC015 24 - 25

Uploaded by

Nor Azila Salleh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views11 pages

LAB 3 Database SC015 24 - 25

Uploaded by

Nor Azila Salleh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

LAB 3

DATABASE

Topic : Database

Skills : Create Form


Objective:
Create Form
▪ Build Form
▪ Modify Form (add, delete and edit record through Form)

ACTIVITY 1 : Create FORM using Blank Form

Steps Instructio
ns
(1) Open the STUDENT Database file. Go to Create, then choose Blank Form.

(2) You will see this diagram.


(3) Then click to the button of Add Existing Fields. The box of Field List will be
appeared. Next, double click to the STUDENT table name. The following diagram
willbe appeared.

(4) Click and drag the Student_Name field from the STUDENT Table window to
theblank form window (Form1) as illustrated.

(5) Similarly, click and drag the fields Matric_Number, IC_Number, Programme,
Date_Of_Birth, Place_Of_Birth and Address from the STUDENT Table
window.
(6) Click on the Student_Name text box.

(7) Click from the left line of Student_Name text box and move to the right.

(8) Then click from the right line of Student_Name text box and move again to the right.
(9) Your form will look like this.

(10) Right click at Title of Form1.

(11) Choose Save then type STUDENT_Info in the Form Name text box as a following
diagram and click OK.

Click
OK

(12) The newly created form can be formatted by adding colors to the background. Click
View form from the Menu Toolbar and choose Design View.
(13) Double click the Detail header as following diagram :

(14) Then the Property Sheet window will be display.

(15) Choose Back Color and click the most right option (you can see three bold dots on a
small rectangle on your right). Choose any color that you want.
(16) After you choose the Back Color, you can resize the form by dragging the edge of
thelowest line and right line of your form. Make extra space to import the image of
Logo of KMJ. Your display will be look like this.

(17) To add an image into the STUDENT_Info form, you can click the image tool as the
following diagram:

(18) Import the Logo of KMJ into the form that you create and you can change the size of
logo by changing it shape outline as the following diagram:

(19) You can view the the new style of Form by right click on the title STUDENT_Info and
click Form View.
ACTIVITY 2 : Create FORM using Form Wizard

(21) Click Create from Menu Toolbar. Then click Form Wizard button.

(22) The following box will be appeared.

Meaning of the arrow


(23) Click on >> then click a Next button.

(24) The following box will be appeared that asked you to choose the layout for your
Form. Click the layout that you preferred and then click Next

(25) Name the title of your form with STUDENT Detail Form as the following
diagram, click Modify the form’s design option and click Finish.
(26) The Form design view is displayed as the following diagram

(27) Click on DESIGN menu, choose Insert Image and browse image of KMJ logo (
You have make sure that you have the KMJ logo on your computer before this
step). Then click on any area of header to locate the KMJ logo on the form header.

(28) Click on HOME menu, choose View then Form View option to view your form.
Your FORM will be look like this.

Activity 3: Enter, modify, and delete record using FORM.

(29) Please look at the bottom of your FORM screen. You can navigate the record of
form by using the arrow at the bottom of form screen.

First Current Next


New
Record Record Record Last Record
Record
Previous
Record
(30) Enter new record
- Click on New Record arrow. You will get blank form like this.
(31) Enter record as given below.

ID Student_Na Matric_Number IC_Number Program Date_of_Birt Place_Of_ Address


me h Birth
11 Muhd Azid MS141237846 960112-01- Science 13-Ogos-96 Muar No. 2, Jalan
Bin 4677 Pahlawan, Taman
Marwan Abadi Muar,Johor
12 Amiena MA141564546 960912-04- Account 05-Nov-96 Masjid 45/2, Jalan
Binti 4562 Tanah Seritan, Masjid
Zakaria Tanah, Melaka

(32) Delete record using FORM


- Find record of Muhammad Ammar Bin Mohd, click on HOME menu then
click on ˅ symbol beside Delete option and choose Delete Record.

- The new dialogue box will appear. Click a Yes button.

- Muhammad Ammar Bin Mohd record will be deleted from the form as
well as the table.

(33) Modify record using FORM


- Find record of Sharon Cho Hui Yi. Change data of programme to
Account.

- Don’t forget to click save icon

You might also like