Professional Documents
Culture Documents
MS Access Essentials - Practical Slide 02 Part 01 and 02
MS Access Essentials - Practical Slide 02 Part 01 and 02
MS Access Essentials - Practical Slide 02 Part 01 and 02
2. MS Access will ask you to save the database. Save it under the name,
“Friends_Database_(Index No)”
Eg. Friends_Database_19SSL0000
• Select Finish.
Creating a drop-down list (10 Minutes)
• Make a drop down list for the field Grade where it will show
a list from grade 3 to grade 12.
Creating an Expression (10 Minutes)
• Go to the table “Contacts”.
• we are going to create a Function/Expression (using Expression
Builder), where Microsoft Access will automatically join first
name and last name.
• Go to Design View.
• Delete the field “Full_Name”. (Because we already have data.)
• Create a new field and name it “Full_Name”.
• Select “Calculated” as the Data Type of Full name as seen in
next slide.
• Now, you will find a window
named Expression Builder as
shown as below.
• To join the two names, put
the following expression,
• Next again modify the query and make the query show only
“Full_Name” and “Date_of_Birth”, where “Last_Name” starts
with “A” and gender is Female (F).
• Run the query and see if you get any results. If not, add some
data and try again running the query.
You do not need to You do not need to
add double add double
quotations (“ ”) quotations (“ ”)
Because access will Because access will
automatically add automatically add
them. them.
Review exercise(10 Minutes)
• Create a query for the “Subjects” Table.
• Show the all subject information and run the query.
• Then modify the query and show only “Sub_Code” and
“Sub_Name” and order subject names in ascending order.
• Save the query as “Subjects_Info”
Review exercise(10 Minutes)
• Use the previous Subject_Info query.
• Go to design view of the query and modify the query to show
“Sub_Code” and “Sub_Name”, where subject starts with “I” and
Run the query.
• Add a criteria to show the subject starts with “I” and Subject
Name starts with “A” and run the query.
Cont’d