5.1 Change the tbl5_1 table as follows:
5.1.1 Change the Indexed field property of the TSurname field to allow for duplicate values - NSC Computer Application Technology - Question 5 - 2020 - Paper 1
Question 5
5.1 Change the tbl5_1 table as follows:
5.1.1 Change the Indexed field property of the TSurname field to allow for duplicate values.
5.1.2 Display the date in the ... show full transcript
Worked Solution & Example Answer:5.1 Change the tbl5_1 table as follows:
5.1.1 Change the Indexed field property of the TSurname field to allow for duplicate values - NSC Computer Application Technology - Question 5 - 2020 - Paper 1
Step 1
5.1.1 Change the Indexed field property of the TSurname field to allow for duplicate values.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To allow duplicate values in the TSurname field, go to the field properties and set the Indexed property to 'Yes (Duplicates OK)'. This will enable multiple entries of the same surname.
Step 2
5.1.2 Display the date in the TBirthDate field in the Short Date format.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Select the TBirthDate field in the table design view and change the Format property to 'Short Date'. This will display the date in a clear and concise format.
Step 3
5.1.3 Change the TAge field properties to display the age without decimals.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Modify the TAge field by setting the Format property to 'Integer'. This will ensure that the age is displayed as a whole number without any decimal points.
Step 4
5.1.4 Set the field properties of the EContact field so that the user can only enter text that contains an '@' sign.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
In the EContact field properties, set the Validation Rule to "Like '@'" so that the user must input an email address containing the '@' symbol.
Step 5
5.1.5 Set the TType field to an appropriate field size.
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Adjust the field size of TType to accommodate the types of information you expect to enter. An appropriate size could be set to 50 characters.
Step 6
5.1.6 Create an input mask for the user to enter data in the following format.
97%
121 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Create an input mask for the TType field by setting it to '<LL><LL>0?', which will enforce lowercase letters and specify the structure of the data entry.
Step 7
5.1.7 Centre the content of the PyramidCode field.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
In the field properties for PyramidCode, set the Text Align property to 'Center' so that all entries are centred in their respective cells.
Step 8
5.1.8 Create a combo box for the PyramidSite field by using the tblSites table.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Use the combo box wizard to create a combo box for the PyramidSite field, sourcing the options from the tblSites table to provide users with a predefined selection.
Step 9
5.1.9 Switch to Datasheet View.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
After configuring the table, switch to Datasheet View to see the changes made and ensure everything is displayed as intended.