Photo AI

5.1 Edit the tblArtists table as follows: 5.1.1 Remove the ID field - NSC Computer Application Technology - Question 5 - 2018 - Paper 1

Question icon

Question 5

5.1-Edit-the-tblArtists-table-as-follows:--5.1.1-Remove-the-ID-field-NSC Computer Application Technology-Question 5-2018-Paper 1.png

5.1 Edit the tblArtists table as follows: 5.1.1 Remove the ID field. 5.1.2 Change the data type of the Name field to a more suitable data type. 5.1.3 Set the field ... show full transcript

Worked Solution & Example Answer:5.1 Edit the tblArtists table as follows: 5.1.1 Remove the ID field - NSC Computer Application Technology - Question 5 - 2018 - Paper 1

Step 1

5.1.1 Remove the ID field.

96%

114 rated

Answer

To remove the ID field, open the tblArtists table in design view. Select the ID field and delete it.

Step 2

5.1.2 Change the data type of the Name field to a more suitable data type.

99%

104 rated

Answer

Change the data type of the Name field from its current type to 'Short Text' or 'Text', ensuring it can hold the appropriate data.

Step 3

5.1.3 Set the field properties of the Cellnumber field so that the user is forced to enter data in this field.

96%

101 rated

Answer

Set the 'Required' property to 'Yes' for the Cellnumber field, ensuring users cannot leave this field empty.

Step 4

5.1.4 Set the field properties of the StreetName field so that it will not accept more than 25 characters.

98%

120 rated

Answer

Adjust the 'Field Size' property of the StreetName field to 25 characters to restrict input length.

Step 5

5.1.5 Insert a field named PostalCode between the City field and the E-mail field.

97%

117 rated

Answer

In design view of tblArtists, insert a new field named PostalCode after the City field, ensuring the field order is maintained.

Step 6

5.1.6 Change the format of the E-mail field to display the address in lower case.

97%

121 rated

Answer

Set the 'Format' property of the E-mail field to ensure all email addresses are displayed in lowercase format.

Step 7

5.1.7 The Genre field allows the user to choose only one option from a list of options. Change a property of the Genre field to allow the user to choose more than one genre.

96%

114 rated

Answer

In the properties of the Genre field, set 'Allow Multiple Values' to 'Yes' to grant users the ability to select more than one genre.

Step 8

5.1.8 Create an input mask on the ArtistCode field to ensure that the user inserts a code for the artist in the following format.

99%

104 rated

Answer

Edit the ArtistCode field's properties and apply the specified input mask allowing for the required format, ensuring it includes letters and digits.

Step 9

5.2 Create a new form called frm5_2 based on the tblArtists table.

96%

101 rated

Answer

Create a new form named frm5_2, including all fields from tblArtists. Add your examination number in the form header and set the Name field's font color to red.

Step 10

5.3 Open the qry5_3 query based on the tblData table.

98%

120 rated

Answer

Modify qry5_3 to include the total amount of each TypeDescription by using the SUM function on the ArtistPrice field, and sort in descending order.

Step 11

5.4 Open the qry5_4 query and do the following: Add a calculated field NoDays.

97%

117 rated

Answer

Add a calculated field named NoDays by subtracting the DateOut from the DatelIn field. Filter the records to show where DatelIn > DateOut.

Step 12

5.5 Open the qry5_5 query and do the following: Display only the records of those artists whose price (ArtistPrice) was more than R2 500 AND whose art pieces were sold (Sold).

97%

121 rated

Answer

Filter qry5_5 to show only records where ArtistPrice > 2500 and Sold = True.

Step 13

5.6 Open the rpt5_6 report and turn on 'Group & Sort'.

96%

114 rated

Answer

Modify report rpt5_6 by enabling the 'Group & Sort' feature, adding date and time to the footer, and ensure the DateOut displays month.

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

;