icdl/ecdl access exam

81
o If a record in a parent table has a related child record referential integrity prevents you from deleting the parent record o A child record cannot be entered unless it has a parent in the database if referential integrity is used 1

Upload: muhammad-ghani

Post on 15-Nov-2014

128 views

Category:

Documents


0 download

DESCRIPTION

ICDL/ECDL Access Exam

TRANSCRIPT

Page 1: ICDL/ECDL Access Exam

o If a record in a parent table has a related child record referential integrity prevents you from deleting the parent record

o A child record cannot be entered unless it has a parent in the database if referential integrity is used

1

Page 2: ICDL/ECDL Access Exam

Select open an existing file → select c:\windows\desktop\car hire → ok → type icoffey in the name box → ken*72 in the password box

2

Page 3: ICDL/ECDL Access Exam

Click on the new tool from the database toolbar → select database → ok

3

Page 4: ICDL/ECDL Access Exam

Help → Microsoft access help → type decimal numbers → search

4

Page 5: ICDL/ECDL Access Exam

View → toolbars → select formatting (form/Report)

5

Page 6: ICDL/ECDL Access Exam

Click on the save tool from the table design toolbar → type Sales → ok

6

Page 7: ICDL/ECDL Access Exam

Type Contact Name → press Tab from the keyboard

7

Page 8: ICDL/ECDL Access Exam

Use the back space from the keyboard to delete Lamont → type Dawson → press Tab from the keyboard

8

Page 9: ICDL/ECDL Access Exam

Click on the button

9

Page 10: ICDL/ECDL Access Exam

Click on save tool from the table design toolbar → close the table

10

Page 11: ICDL/ECDL Access Exam

In the indexed box → choose yes (duplicates ok)

11

Page 12: ICDL/ECDL Access Exam

Put the insertion point in the Date of birth field → in the format box → select long date

12

Page 13: ICDL/ECDL Access Exam

o If you change the stock Ref field size property to 15 existing data will not change

13

Page 14: ICDL/ECDL Access Exam

In the validation Rule box type >10 → press enter from the keyboard

14

Page 15: ICDL/ECDL Access Exam

Click on the Relationships tool in the database toolbar → click on the Author

ID drag and drop it to the Author ID

15

Page 16: ICDL/ECDL Access Exam

Right click on the line between Patient table and Payment table → select Edit Relationship ….. → check the Enforce Referential Integrity → ok

16

Page 17: ICDL/ECDL Access Exam

Select forms from the objects pane → double click on the create form in Design view

17

Page 18: ICDL/ECDL Access Exam

Click on the Delete Record tool from the form view toolbar → yes

18

Page 19: ICDL/ECDL Access Exam

Click on the Patient box and type details → press enter from the keyboard

19

Page 20: ICDL/ECDL Access Exam

Edit → find → type 3546-1236-7 in the find what box → click find next button

20

Page 21: ICDL/ECDL Access Exam

In the first name select the S letter from the word Saul → click on the filter by selection tool from the Table datasheet toolbar

21

Page 22: ICDL/ECDL Access Exam

Click on save tool → type the name Employee Salaries → ok

22

Page 23: ICDL/ECDL Access Exam

In the payment date column → in the criteria box → type >= 06/06/2002 →press enter

23

Page 24: ICDL/ECDL Access Exam

Right click on the Books by Americans → select Delete → yes

24

Page 25: ICDL/ECDL Access Exam

In the third column → in the field box → use the drop down list to select the Birth Date

25

Page 26: ICDL/ECDL Access Exam

Click on the view tool from the Query datasheet toolbar → use the back space to delete the word Russian and or and then press the button Run from the query design toolbar

26

Page 27: ICDL/ECDL Access Exam

Put the insertion point in the payment date field → click on the sort descending tool from the Table datasheet toolbar

27

Page 28: ICDL/ECDL Access Exam

From the Tables/Queries drop down list select Table: Extract → click on → click on the Next button

28

Page 29: ICDL/ECDL Access Exam

Select Surname → click on → click next → from the first drop down list

Select Title → click finish

29

Page 30: ICDL/ECDL Access Exam

From the first drop down list select month → click on summary options… button → check the check box in the min column and bed nights row →ok

30

Page 31: ICDL/ECDL Access Exam

File → page setup → select the page tab → select the landscape

31

Page 32: ICDL/ECDL Access Exam

File → print → select pages → type 4 in the first box → type 6 in the second box → ok

32

Page 33: ICDL/ECDL Access Exam

File → print → in number of copies use the arrows to select 2→ok

33

Page 34: ICDL/ECDL Access Exam

Type 6

Select the gray area before the employee ID

34

Page 35: ICDL/ECDL Access Exam

Select Access database wizards, pages, and projects → ok

35

Page 36: ICDL/ECDL Access Exam

Click on view tool in the table datasheet toolbar

36

Page 37: ICDL/ECDL Access Exam

Double click on the create table in Design view

37

Page 38: ICDL/ECDL Access Exam

Click on the button

38

Page 39: ICDL/ECDL Access Exam

Press delete from the keyboard

39

Page 40: ICDL/ECDL Access Exam

Click on the gray area before the Patient ID → click on the primary key in the table design toolbar

40

Page 41: ICDL/ECDL Access Exam

Click on the header of the field and drag it to between the date of birth and doctor id

41

Page 42: ICDL/ECDL Access Exam

Right click on the line → select delete → yes

42

Page 43: ICDL/ECDL Access Exam

Select the gray box that has the word class → press delete from the keyboard → and then click save

43

Page 44: ICDL/ECDL Access Exam

Click on the button

44

Page 45: ICDL/ECDL Access Exam

Click add → select stock → click add → click close

45

Page 46: ICDL/ECDL Access Exam

Click on the view tool → uncheck the date of birth

46

Page 47: ICDL/ECDL Access Exam

o You must use design view to change the layout of a report o The order in which you add field in the wizard sets how they

display in the report

47

Page 48: ICDL/ECDL Access Exam

File → print → select selected records → ok

48

Page 49: ICDL/ECDL Access Exam

o

o Text

o You can index any field no matter what its data type is o Indexing is especially useful when working with large tables

49

Page 50: ICDL/ECDL Access Exam

o A relational database is easier to maintain than a non relational one

o A relational database is one that contains linked tables

<31 Dec 1970

50

Page 51: ICDL/ECDL Access Exam

Click on the remove filter tool from the table datasheet toolbar

51

Page 52: ICDL/ECDL Access Exam

Select My Documents → type Books in the file name → press create

52

Page 53: ICDL/ECDL Access Exam

File → close

53

Page 54: ICDL/ECDL Access Exam

Put the cursor in the first name field → Insert → rows

54

Page 55: ICDL/ECDL Access Exam

Put the cursor in this box and delete 1 and type 25 → press enter from the keyboard

55

Page 56: ICDL/ECDL Access Exam

Put the cursor in the validation rule → type Full-time or Part-time → press enter from the keyboard

56

Page 57: ICDL/ECDL Access Exam

Select the gray text box and label that contains the word Enrolment → press delete from the keyboard → click on the save button

57

Page 58: ICDL/ECDL Access Exam

Click on this button

58

Page 59: ICDL/ECDL Access Exam

o Changing the surname field size property to 40 will not change existing data

59

Page 60: ICDL/ECDL Access Exam

Click on the relationships tool → select the field Book ID from the Extract table and drag it to the field Book ID from the Book table

60

Page 61: ICDL/ECDL Access Exam

In the Nationality column put the in the criteria box → type <> Russian → press enter from the keyboard

61

Page 62: ICDL/ECDL Access Exam

Click on the sort ascending tool

62

Page 63: ICDL/ECDL Access Exam

Select and then press delete from the keyboard

63

Page 64: ICDL/ECDL Access Exam

Select the payments by patient → click on preview

64

Page 65: ICDL/ECDL Access Exam

Select the first five records → file → print → select selected records → ok

65

Page 66: ICDL/ECDL Access Exam

In the field size box use the drop down list → select single

66

Page 67: ICDL/ECDL Access Exam

Select Queries from the objects pane → double click on create query in design view

67

Page 68: ICDL/ECDL Access Exam

Sales catalogue novel Student register shopping list

Customer records

o >= 10 will find values that are greater than or equal to 10o <Jan 1 1965 And > Dec 31 1963 will find all dates in 1964

68

Page 69: ICDL/ECDL Access Exam

In the data type column → use the drop down list and select Auto number → press tab from the keyboard

69

Page 70: ICDL/ECDL Access Exam

Put the cursor in the indexed box → from the drop down list select yes (No Duplicates)

70

Page 71: ICDL/ECDL Access Exam

Select Queries from the object pane → double click on create query by using wizard

71

Page 72: ICDL/ECDL Access Exam

o A newsletter

o You can change the layout of a report in design view o The order in which you add fields in the wizard sets how they

display in the report

72