WEBVTT
Kind: captions
Language: en

00:00:06.899 --> 00:00:10.889
In this lesson we will be creating basic forms 
for our database.

00:00:08.889 --> 00:00:16.070
So why do you need forms? In the last lesson
 you saw that one way to get data into your

00:00:16.070 --> 00:00:19.860
database is by entering it directly into the 
tables.

00:00:19.860 --> 00:00:25.730
That method is fine if you are already familiar
 with the database and the formats that the

00:00:25.730 --> 00:00:29.339
data should be in.
But the other users of your database may not

00:00:29.339 --> 00:00:33.850
enter data into the tables exactly the way
 you want them to.

00:00:33.850 --> 00:00:39.479
Well in Access you can create a form that 
your users can use to populate the table instead

00:00:39.479 --> 00:00:46.479
of working directly in the table itself.
 Access forms look a lot like paper forms that

00:00:48.589 --> 00:00:54.040
you may have filled out at the bank or for
work or at school.

00:00:54.040 --> 00:01:00.530
With an Access form, you see one record at
 a time but in a table, you see all the records

00:01:00.530 --> 00:01:07.509
at once.I've already created two
 basic forms, the Orders form where I'll

00:01:07.509 --> 00:01:14.509
enter an order for one person purchasing a
book or books, and a Customers form for entering

00:01:16.260 --> 00:01:21.650
a customer's information.
The Customers form has a drop down list for

00:01:21.650 --> 00:01:25.080
the State field.
This makes it really easy for the user to

00:01:25.080 --> 00:01:30.840
enter a valid state abbreviation.
The form you'll be creating is the

00:01:30.840 --> 00:01:34.450
Books form.
It will be used to enter books as they come

00:01:34.450 --> 00:01:38.770
into our store inventory.
We're also going to set up a list

00:01:38.770 --> 00:01:45.190
like the one in our customers form to make
 selecting a book category easy.

00:01:45.190 --> 00:01:50.650
So now, let's create our own form to make
 data entry easy for the person entering the

00:01:50.650 --> 00:01:56.240
new books.
First select the table that most closely relates

00:01:56.240 --> 00:02:03.240
to the form you want to create.
Next click on the Create Tab and the Form

00:02:06.060 --> 00:02:11.030
command in the Forms group.
This automatically generates a form based

00:02:11.030 --> 00:02:16.400
on table content - not the best option, since
you don't control what it looks like without

00:02:16.400 --> 00:02:22.139
modifying the layout...but you can always
go back and change the layout and colors later

00:02:22.139 --> 00:02:27.349
so this is the option we're going with.
Plus, we want all the fields from our Books

00:02:27.349 --> 00:02:33.529
table to appear on our form, which this option
does automatically for us.

00:02:33.529 --> 00:02:37.689
There are other options for creating forms
but we'll talk about that later.

00:02:37.689 --> 00:02:43.489
Access automatically called our form the same
as the table it is based on, but you can rename

00:02:43.489 --> 00:02:50.489
it whatever you want by saving it and entering
a new name- Books is just fine for what we're

00:02:51.629 --> 00:02:56.680
doing.
Down here we have our navigation buttons for

00:02:56.680 --> 00:03:01.279
our form.
I can go to the first record, the previous

00:03:01.279 --> 00:03:08.279
record, the next record, the last record,
or I can choose to enter a new blank record.

00:03:14.239 --> 00:03:19.000
In our next lesson we'll actually start entering
data in our form to create new records.

