Case Study: Personnel

 [R_a] 


Answers to questions
  • What problems can occur calling address fields "Suburb", "City" ?
    • Not all addresses have Suburb, City. People live in towns, have rural codes for addresses or use PO Box numbers.
    • This causes confusion for a data entry operator as to where to enter the data.
  • What problems can occur if the addresses are called Address1, Address2, Address3 ?
    • The data entry operator may enter the town/city in either Address2 or Address3 creating problems when searching for people who live in a particular Town/City.
  • Why is phone number not usually entered in as a number ?
    • phone numbers are not used in calculations (normally), and often inclde alphanumeric character
      eg. (09) 123-456, 123-444 ex 123 or word numbers may be given 0800 ringme
  • Why would weekly pay NOT be included in the database table ?
    • It is a calculated field made up of HourlyRate times the HrsPerWeek.
  • Why problems could a field called "Hrs/Week" cause?
    • The "/" could be interpreted as a division sign.
  • Some people only have one name. Should this be put in the FirstName or LastName field ?
    • From experience this is really a first name. Make sure your reports handle this problem. One solution that really annoyed the person was to place the name in both fields! (This was because the database required data in both fields!).

Sample table structure
Key Field Name Data Type Description Field Size Required
Yes EmpId AutoNum Employee Id Long Integer Yes
. LastName Text . 30 No
. FirstName Text . 20 No
. Address1 Text Address line 1 30 No
. Address2 Text . 20 No
. TownCity Text Town or city 20 No
. PostCode Number . Integer No
. Phone Text . 15 No
. StoreId Number Store employed in Integer No
. DeptId Text Department employed in 15 No
. JobTitle Text . 15 No
. DateHired Date dd/mm/yy Date No
. HourlyRate Number . Currency, 2 dp No
. HrsPerWeek Number . Single, 1dp No

[Rev 24/06/00 ] 26/4/00 © 2000 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.