12
Evidence - Database By Grace Gallagher Chin

Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Embed Size (px)

Citation preview

Page 1: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Evidence - Database

By Grace Gallagher Chin

Page 2: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

3/10/12Validation Rules

For some of the data a validation rule is needed for example for status a validation rule of those three colours is used, red being critically endangered, orange being endangered and blue being at risk.

Each field has a specific data type. For example for the adoption cost would be currency as it is a price.

Page 3: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Field Names

For each of the different field names they needed different data types. For the majority of the fields the data type was ‘Text’. However for the Weblink the data type was ‘Hyperlink’ this is because it would allow the user of the database to click on the weblink and be able to access it straight away.

For the adoption cost the data type needed was ‘Currency’ because it allows you to use numbers and currency symbols and will reject letters which is important when importing the data so that none of the data imports incorrectly.

Page 4: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Lookup WizardFor certain fields a ‘Lookup wizard’ was needed. A lookup wizard was needed for the category group as well as status and threat. A look up wizard helps you to create a drop down box so you can only enter certain data. For each of these groups I typed in the values that I wanted.

Which is shown here.

Page 5: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Importing dataNext the data needed to be imported, in which the text file was found on the DIDA Wildcare level 2 website, http://www1.edexcel.org.uk/D201_SPB_0911_FINAL/html/SPB201Database.htm

First you need to click browse and the find the text file.

Then click ‘Append to a copy of the records to the table’ as you want it in the database that you have created.

Page 6: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Final Database

This is the completed database with all of the data which has been imported and all of the data is in the right column. As you can see there are no gaps or anomalies in my data and everything is in the right column which shows that the data has been imported correctly.

Page 7: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Creating buttons for data entry formDelete Record & Save Record:

Page 8: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

This is what the tables looked like in my form although you did have to scroll down to see them.

This is what the form look like in Design View.

This is what the form look like in Form View.

Page 9: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

These drop down boxes are needed for all of these categories because it is to make sure that no anomalous data is typed in.

The buttons are needed to navigate the form. To perform different actions.

Page 10: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Adding new animals to my databaseWe then had to add a new animal to the database using the form, I chose the animal the Bald Uakari which is a mammal. I then imported it to my data by clicking the button add record. I used the websites http://en.wikipedia.org/wiki/Bald_uakarihttp://www.earthsendangered.com/profile-488.html

Page 11: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Adding new animals to my databaseThe next animal I chose to import was the Asiatic Lion, which like all the other animals in the database was endangered. I got the information from two websites, http://www.earthsendangered.com/profile-239.htmlhttp://en.wikipedia.org/wiki/Asiatic_LionI then added the information onto the form and then clicked ‘Add Record’.

Page 12: Evidence - Database By Grace Gallagher Chin. 3/10/12 Validation Rules For some of the data a validation rule is needed for example for status a validation

Adding new animals to my databaseThe last animal that I imported to my database was the West Indian Manatee, I got the information from two different websites, http://en.wikipedia.org/wiki/West_Indian_manateehttp://www.earthsendangered.com/profile.asp?gr=M&view=c&ID=11&sp=701. I entered the information into the form and then clicked add record and it imported into my database.