Making a database. Karyl Slim 11IOTA.
Karyl Slim 11IOTA
For status, we were given the validation rule that was on the website so we had to use the ‘Lookup wizard’; this will allow the user to type in the correct information. I then clicked on ‘I will type the values that I want’ because it will enable me to add all of the codes that will appear on status field.
For location, there wasn’t a validation rule or text but I changed the field size to 80 so that the maximum information added will 80 characters.
In the column section, I entered all of the codes that we were given to indicate each colour for the status. For the ‘Validation Rule’ I typed ‘Red’ Or ‘Orange’ Or ‘Blue’ this will inform the user that they can only enter these words. If they enter the wrong code, they will be notified that they have entered the wrong information and will give them a list of what they can enter; this was included in the ‘Validation Text’. I changed the field size to 10 because the maximum amount of letters that will be in the code is 6 so it makes it easier for the user.
The final Field name that we had to fix was ‘Adoption Cost’. The ‘Data Type’/Format was currency as it would be the price of something so we had to change the ‘Decimal Places’ to an appropriate number; I chose 2 because the price of the adoption cost didn’t go to 3 decimal places.
To import the data, we had to save a text file that contained the information (text file) that was on the Dida Wildcare website. On the database, I went on the ‘External Data’ section and clicked on ‘Text File’; this allowed me to browse and select the file that I wanted to include/import in the database. After I finished selecting the file, I clicked on the option ‘Append a copy of the records to the table’ because it will transfer the file to the database. I then pressed ‘Ok’ and ‘Finish’ and ended up with a full database with all the information I needed to include. We had to make sure that we had a total of 173 records on the database to ensure that all the information had been imported.
In today’s lesson, we had to make a data entry form; this allows us to enter new records onto the database. To create the data entry form, I went on ‘Create’ and then ‘Form’ as this will allow me to add the three new species we had to include. I then went on ‘Design View’ so that I can change the form and add command buttons. When we add the 3 new species onto the database, we will be able to include the status, threat and price of the species. In the ‘Design View’ of the database, I added a suitable title and an image of the ‘WildCare Trust’ logo; I then put the image in my sources table.
We had to create a command button so that we would be able to add the 3 new records to the database. To do this, I went on ‘Design’ and then the rectangular icon with 4 x’s in the middle; this is so that when I add the 3 new records, I will be able to add, remove, edit and save the record onto the database. I started to create the button by clicking on the category ‘Record Navigation’ and the Action ‘Find Record’ which will make it easier for the user to navigate and find the record easily; I then clicked on the option ‘Text’ as this will allow me to write what will appear on the button. I then changed the name of the button to ‘Find Record’ so that the user will find the record with no trouble.
To create the next command button, I went through the same process but instead of using ‘Find Record’ I used ‘Next record’ so that the user will be able to find the next species on the database. On the command button wizard, I clicked on the option ‘Text’ so that I can change the name of the button instead of using a picture. I changed the name to ‘Next record’ so that the user will know what the button will be used for.
The next command button was ‘Previous record’; to create this, I went on the ‘Command Button Wizard’. For the ‘Record Navigation’ category, I clicked on ‘Go to Previous Record’ action and then ‘Text’ and I changed the name to ‘Previous Record’; this will make the button go straight to the previous record and will make it easier for the user to navigate their way round the database.
The next command button we had to create was ‘Add Record’; to do this I changed the category to ‘Record Operations’ and the Action as ‘Add new Record’ as this will allow me to add the 3 new records onto the database. Again, I clicked on the option ‘Text’ and changed the name to ‘Add Record’ as this will indicate the user that they will be able to add new records to the database.
The next command button I needed to add was ‘Delete Record’; this will allow me/ the user to delete any records/species that we don’t want. To do this, I went to the command button wizard and put the category to ‘Record Operations’. I then put the action to ‘Delete Record’ this will make the button delete the selected record on the database. I went on ‘Text’ and then changed the name to ‘Delete Record’ so that the user will easily know what the button is and it will easily delete the record.
The final command button I had to add was ‘Save Record’; to create this, I went to the command button wizard and I put the category to ‘Record Operations’ and the actions to ‘Save Record’ I then clicked ‘Text’ and changed the name to ‘Save Record’; this is used so that once you add a new record, you will be able to add it and then save it onto the database so that the records will be included in the database.
My data entry form ended up with all the 6 command buttons on the bottom. Before I started to add the 3 new records onto the database, I needed to create a key of the codes for the ‘Status’ and ‘Threat’; this will make it easier for the user to add the status of the species i.e. endangered and their threat i.e. climate change. To create the key, I used ‘Microsoft Word’ to create 2 tables; the code/key for the status and the code/key for the threat. I then used the snipping tool to crop the tables and after I saved them as an image; this is so that on the database, I can insert the image onto the data entry form so that the user will know the options they can add to the ‘Status’ and ‘Threat’
Before adding the 3 new records, I had to research different endangered species from the same group; I chose to use mammal. The first species I chose was the Bearded Saki, Monkey; I had to research the status of the mammal; it was endangered so I put the code ‘Orange’ that was on the key. I also had to identify the threat for that species; it was ‘H’ which indicated hunting and was on the website. To add it onto the database, I clicked on ‘Add Record’ and then ‘Save Record’; this will add and save the record onto the database.
The next record I added was the Black-Footed Ferret. Again it was from the mammal group as all 3 new records had to be from the same group. I then had to research its location, its adoption cost and the weblink. The status for this species was ‘Red’ which indicated that the Black-Footed Ferret was critically endangered. The threat of the species was ‘L’ which indicated loss of habitat. To add this record onto the database, I had to click ‘Add Record’ and then ‘Save Record’ which saved the new record onto the database.
The final record I decided to add was the Web Valley Wolves. Again it was from the same group, mammal and I had to research the location, adoption cost and the weblink of the species. The status of the species was ‘Blue’ which indicated ‘at risk’ and the threat was ‘L’ which indicated ‘loss of habitat’. Once I had finished completing all of the table, I clicked on ‘Add Record’ and then ‘Save Record’ which would save the record onto the database.
The final part was to make sure that the records were added onto the database. The first thing to check was to see if there is 176 records in the database because you started with 173 and then you added 3. the final part is to identify if the 3 records you have added were on the data base. As you can see, the 3 new records were added onto the database and I now have 176 records.