Technically speaking your assignment does not say that you have to create forms, but you still need to populate the rentals table with some records (20 if I remember correctly) and that would be a lot easier with the forms.
But before we get to that, what happened to the media type table I suggested and is part of your assignment (media category)?
I thought that table was in one of your earlier versions?
Your task is to create a simple relational database from the field list above. The required tables are Customers, Media, Categories, and Rentals, each of which should be properly provided with a primary key, and each of which should be related to other tables as required.
The following is a list of essential data items to be recorded. As noted above, there may be a few additional fields required as keys for the tables you will create from these fields.
[LIST]
[*]date of rental
[*]due date
[*]media item title
[*]media item category
[*]category description
[*]category code
[*]customer ID#
[*]customer lastname
[*]customer firstname
[*]customer address
[*]customer phone#
[/LIST]
All four database tables should be populated with records as follows:
[LIST]
[*]Customers - at least 10
[*]Categories - three records, one describing each of the the media types: DVD, VHS or Game
[*]Media - at least 30 records, representing a selection of DVD movies, VHS movies and Games.
[*]Rentals - at least 20 records.
[/LIST]
See my #7 post for how to handle the media type (category); feel free to change the table name to suit your assignment.
No, the various types should be RECORDS in the table not FIELDS
The table should be structured as follows:
tblMediaTypes
-pkMediaTypeID primary key, autonumber
-txtMediaType text field
The data in the table should look like this:
pkMediaTypeID|txtMediaType
1|DVD
2|Blue Ray DVD
3|Game
4|VHS
No, this is a basic table that you should know how to handle for your assignment. If I do it for you, you will not learn. Create the table as I show with the 2 fields. You can then add the 4 records to the table. You canadd the records directly to the table or you can add them using a form (your choice).
how do i create records ?
You cannot join an autonumber field to a text field. The DB I posted in post 32 is correct.
Just like you did in the media and customer tables. The rental table just needs to have numerical values for all the key fields (customerID, DVDID) rather that the text. For example (using the DB I posted in post 32), if customer Sean Paul (customerID =3) rents Star Trek (DVDID=12), you would enter those numbers (3,12) in the rental table in their respective fields. You would then need to supply the date values to finish the record. This is where the forms would be easier. Perhaps the tutorials on this site might help.
could you have a look at the media forms
In what database should I look; you did not post another one?
Please see the customer form in the attached.