Вы находитесь на странице: 1из 16

Data Dictionary

Customer Table

Field Custom Customer Address Town County Postcode Country Phone Email Address
Name er ID Name number
Data Type Short Short text Short text Short text Short Short text Short Short text Short Text
text text text
Field 225 225 225 225 225 225 225 225 225
Size/Form
at
Input LL99\ 9LL
Mask
Lookup Text box Text box Text box Text box Text box Text box Text box Text box Text box

Validation Is Null Or Is Null Or ((Like "*?@?*.?


Rule Not Like *") And (Not Like
"*[!a-z "*[ ,;]*"))
OR "" ""
OR ']*"
Validation Please Please enter a valid email
Text enter a address
valid
Custome
r name.
Required Yes No No No No No No No No
Indexed Yes (No No No No No Yes No No No
duplicate (Duplicate
s) s ok)
Comment
s
Customer Table

Field Custom Customer Address Town County Postcode Country Phone Email Address
Name er ID Name number
Data Type Short Short text Short text Short text Short Short text Short Short text Short Text
text text text
Field 225 225 225 225 225 225 225 225 225
Size/Form
at
Input LL99\ 9LL
Mask
Lookup Text box Text box Text box Text box Text box Text box Text box Text box Text box

Validation Is Null Or Is Null Or ((Like "*?@?*.?


Rule Not Like *") And (Not Like
"*[!a-z "*[ ,;]*"))
OR "" ""
OR ']*"
Validation Please Please enter a valid email
Text enter a address
valid
Custome
r name.
Required Yes No No No No No No No No
Indexed Yes (No No No No No Yes No No No
duplicate (Duplicate
s) s ok)

Enrolment Table
Field Name Student ID Module Code Result Achieved
Data Type Number Number Number
Field Size/Format Long Integer Long Integer Double
Input Mask
Lookup
Validation Rule
Validation Text
Required Yes Yes Yes
Indexed Yes Yes Yes
Comments This is a compound key This is a compound key

Module Table
Field Name Module Code Module Title Staff ID
Data Type Number Text Number
Field Size/Format Long Integer 30 Long Integer
Input Mask
Lookup
Validation Rule
Validation Text
Required Yes Yes Yes
Indexed Yes (No Duplicates) No No
Comments This is a Primary Key Field
Lecturer Table
Field Name Staff ID FirstName Surname Room No Specialty
Data Type Text Text Text Number Text

Field Size/Format 1 10 10 Long Integer 40

Input Mask 0\-00

Lookup

Validation Rule

Validation Text

Required Yes Yes Yes Yes Yes

Indexed Yes (No Duplicates) No No No No

Comments This is a Primary Key


Field
Relationships

The above screenshot is showing the Relationships that I have created, as


you can see from the screenshot above the StudentID in the Student table
is linked to the StudentID on the Enrolment table, then the ModuleCode in
the Enrolment table is linked to the ModuleCode in the Module Table, then
finally the StaffID in the Lecturer table is linked to the StaffID in the
Module Table.

C (i)

In the screenshot below I will show the created form which will allow users
to enter/edit data in the staff table.

The above screenshot is showing my finished form, on this you can see
that I am using the Lecturer table to show the correct data and I have
inserted an add record button and a delete record button so the user can
enter and add data.

C (ii)
The above screenshot is showing the form I have created to allow the user
to be able to enter/edit data, to do this I have created a button to Add a
record and to Delete a Record As you can see from the above
screenshot I am using the Module table to do this and I have chosen to
show all the field names on this table.

C (iii)

The above screenshot is showing that I have used the Student table and
the Enrolment table, the Enrolment table is in a Subform and I also have
put in buttons which will allow you to Add a record to the student and
enrolment form and I have also put in a delete record button, even though
it wasnt required as I had to test that it worked so therefore I needed to
be able to delete the new record that I had added to each of the forms.

Task 2

2 (A)

In the above screenshot you can see that this is the design view of my
Query I have used the Module title from the Module table and the
FirstName, Surname and Gender off the Student table and to create the
query to show the First name and Surname of Male students who study
Intro to Programming to show this in the Gender field I have typed a M so
that the query will be sorted to show only Males, and in the Module title
field I have typed in Intro to Programming so that the query will be
sorted that it will show the only the males that study Intro to
Programming.
In the above screenshot you can see that I have created a query to show
the First Name and Surname of the Males that study Intro to
programming.

2 (B)

The above screenshot is showing the design view of my next query which
is to show the first name and surname of the students who have studied
project management and achieved a result of less than 40.
The above screenshot is showing the finished query as you can see the
first name and surname of the students who have studied Project
Management.

2 (C)

The above screenshot is showing the design view of my report which is


based on the Module and Enrolment tables, the Report should display the
code and title of each module and the results achieved by the students.
The above
screenshot
is showing
the report that has been created to show the Module code, Results
achieved and the Module title.
2(D)

The above the above screenshot is showing what I have selected to use
for this particular query and in the Student ID field I have selected to not
show this field as it is not requested in the question. In the criteria section
of this I have created a parameter which is to prompt the user to enter
their student ID.

The above screenshot is showing the prompt to the user to enter a


student ID this is to show the findings on the report.
The above screenshot is showing the report when I type in the student id
of 3 and as you can seethe correct details are shown with the average
being displayed.
The above the above screenshot is showing what I have selected to use
for this particular query and in the Staff ID field I have selected to not
show this field as it is not requested in the question. In the criteria section
of this I have created a parameter which is to prompt the user to enter
their Staff ID.

The above screenshot is showing the prompt to the user to enter a Staff ID
this is to show the findings on the report.

The above screenshot is showing the report when I type in the student id
of 3 and as you can seethe correct details are shown with the average
being displayed.

Task 3

In this task we where asked to link a database to a website, I will show this
below.
ASP Form

The screenshot to the


left is showing the form
that is in my website.

The screenshot to the left is


showing the information that is
being typed in I will then click the
submit button to show that it will
link me and tell me that it has been
submitted in the database.
The above screenshot
is showing the prompt that I get when I click the submit button.

I will click on home page link to show that it will now take me back to the
homepage, because the new record has been added

The details are now shown in the customer details database.

Вам также может понравиться