Photo AI

Open the 5ArtWorld database, which contains details of artists and paintings - NSC Computer Application Technology - Question 5 - 2018 - Paper 1

Question icon

Question 5

Open-the-5ArtWorld-database,-which-contains-details-of-artists-and-paintings-NSC Computer Application Technology-Question 5-2018-Paper 1.png

Open the 5ArtWorld database, which contains details of artists and paintings. Open the tblPaintings table in Design View. 5.1.1 Change the format of the Painting f... show full transcript

Worked Solution & Example Answer:Open the 5ArtWorld database, which contains details of artists and paintings - NSC Computer Application Technology - Question 5 - 2018 - Paper 1

Step 1

5.1.1 Change the format of the Painting field

96%

114 rated

Answer

To change the format of the Painting field to display in capital letters, access the field properties of the tblPaintings table in Design View. Locate the Painting field and set its format property to 'Uppercase' or ensure the input mask enforces capital letter display.

Step 2

5.1.2 Change the field properties of the YearPainted field

99%

104 rated

Answer

For the YearPainted field, navigate to the field properties and set the validation rule to the following:

>=1494 AND <=1970
OR >1494 AND <1971
OR BETWEEN 1494 AND 1970
OR (YearPainted>=1494 AND (YearPainted<=1970))

The validation text should indicate that the year must be between 1494 and 1970.

Step 3

5.1.3 Create an input mask on the ID field

96%

101 rated

Answer

To create an input mask on the ID field, set the input mask to 'IMP*09' which allows:

  • 'IMP'
  • any compulsory character or space
  • a compulsory number from 0 to 9
  • followed by up to two optional numbers. Ensure you validate proper examples like IMP 3 or IMP#12.

Step 4

5.1.4 Insert a new field called Area

98%

120 rated

Answer

Insert a new field named Area at the end of the tblPaintings table. Change its data type to 'Calculated' and set the expression to calculate the area as follows:

[Height] * [Width]

Step 5

5.1.5 Change the tblPaintings table to Datasheet View

97%

117 rated

Answer

Finally, switch the tblPaintings table to Datasheet View to confirm that all changes, including the new Area field, are displayed correctly.

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;