Open the 5Survey database, which contains data obtained from a survey completed by visitors to Agra - NSC Computer Application Technology - Question 5 - 2019 - Paper 1
Question 5
Open the 5Survey database, which contains data obtained from a survey completed by visitors to Agra.
Edit the tblInfo table in Design View as follows:
5.1.1 Move t... show full transcript
Worked Solution & Example Answer:Open the 5Survey database, which contains data obtained from a survey completed by visitors to Agra - NSC Computer Application Technology - Question 5 - 2019 - Paper 1
Step 1
5.1.1 Move the primary key set on SurveyNo 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
Set the primary key on the SurveyNo field in the Design View of the tblInfo. This action ensures that each survey entry is unique and easily identifiable.
Step 2
5.1.2 Move the Name field so that it appears after the Surname field
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
Rearrange the fields in the Design View of the tblInfo to position the Name field directly after the Surname field.
Step 3
5.1.3 Create an input mask on the Code field to ensure that the user inserts a code in the required format
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
Establish an input mask for the Code field to accept the following format: >L0000 which allows for one compulsory letter followed by four numeric digits, ensuring uniformity of data entry.
Step 4
5.1.4 A validation rule was set on the Dateln field
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
Insert appropriate validation text that indicates acceptable date formats specific to the survey's requirements, e.g., 'Please enter the date in YYYY/MM/DD format.'
Step 5
5.1.5 The Days field contains a calculation that attempts to determine the number of days a tourist spent in Agra
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
Modify the Days calculation formula to be Abs([DateOut]-[Dateln]) ensuring that the result is always non-negative.
Step 6
5.1.6 Change the format of the WillReturn field to 'True/False'
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
Change the field type for WillReturn to a Yes/No data type in the tblInfo design view.
Step 7
5.2 Open the frm5_2 form, based on the tblInfo table in Design View
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
Add your examination number to the form header, ensure the Dateln field does not show a DatePicker, and include a combo box sourced from tblOptions for TravellerType while ensuring to not show the page header or footer.
Step 8
5.3 Open the qry5_3 query in Design View
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
Filter the query to display only records with a rating of '5', calculate the average of the EstimateAmount field, and ensure amounts are formatted to display two decimal places.
Step 9
5.4 Open the qry5_4 query in Design 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
Set criteria to filter records where the Code begins with 'S' and ends with '0', and where the Reaction field does not contain 'Unmoved'.
Step 10
5.5 Open the qry5_5 query in Design View
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
Display entries for female tourists, create a calculated field to show the first character of the Reaction field as CodeLetter, and retain only the Name, Surname, and CodeLetter fields in the output.
Step 11
5.6 Open the rpt5_6 report in Design View
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
Remove the section for EstimateAmount, incorporate a Sum function to total the EstimateAmount per TravellerType in the report.