13
Database Evidence Lucy Woods

Database Evidence

  • Upload
    fala

  • View
    23

  • Download
    0

Embed Size (px)

DESCRIPTION

Database Evidence. Lucy Woods. The Data Type is set as ‘Text’ as it can only be described through the use of letters and punctuation . FOOD ITEM. It is a required field , so it must be populated with data. - PowerPoint PPT Presentation

Citation preview

Page 1: Database Evidence

Database Evidence

Lucy Woods

Page 2: Database Evidence

FOOD ITEM

The Field size is decreased to 40, this is enough space for any food item and will reduce the overall database field size.

It is a required field , so it must be populated with data.

No Duplicates have been selected, This will ensure that no two food items imported or entered into the database are the same.

The Data Type is set as ‘Text’ as it can only be described through the use of letters and punctuation .

Page 3: Database Evidence

The data type is text. Codes are used to represent food items using letters

The Field size is decreased to 2. Only 2 letters can be used.

The validation rule limits the data that can be imported to specific codes.

The validation text is the warning that appears if information is entered other than the specific food codes.

GROUP

Page 4: Database Evidence

The data type is text. The way to describe units will be by texts, eg. Tablespoons, slices.

The field size is reduced to 20.

It is a required field. It must be populated

UNIT

Page 5: Database Evidence

The Data type is ‘Number’. The quantity needs to be represented as a integer.

The field size is now ‘integer’ rather than ‘long integer’ to reduce file size.

As an integer has no decimal places you will enter ‘0’.

QUANTITY

Page 6: Database Evidence

CARBS The data type Number. This is because the number of calories in a portion of food will be in numerical form.

As this field requires up to 1 decimal place . Enter ‘1’ where it says ‘Decimals places’.

It is a required field.

Page 7: Database Evidence

FIBRE

The field size is now ‘integer’ rather than ‘long integer’ to reduce file size.

It is a required field

Number of decimal places has been changed to 0.

The data type is set to Number. The amount of Fibre in the table is limited to an integer.

Page 8: Database Evidence

FAT

This field requires up to 1 decimal place. Input ‘1’ in the decimal place row.

The data type is set to Number. This is because a amount of Fat in a portion of food would be a numeric form.

Page 9: Database Evidence

CALORIES

The data type is set to Number. This is because the number of calories in a portion of food would be a integer numeric amount.

The field size is changed to integer. Using this as apposed to long integer will reduce file sizes

It is a required field.

Page 10: Database Evidence

Now all the field names and data types have been filled in you can import the data.Click on the text file and browse for the text file needed. Import the data.

Importing Data

Page 11: Database Evidence

Testing the Validation Rule

• Whilst trying to enter a value that did was not acceptable for that specific field this warning notice appeared showing that my validation rule works.

Page 12: Database Evidence

Adding New Records

I carried out research on particular foods to include in my database and imported them under the correct headings.

Page 13: Database Evidence

Finished Database