13
Aimina Zalfa Salsabila – Sasha Y7 For beginners Access is an interactive, relational database management system. A database is an organized collection of data stored in categories that are accessible in a logical or practical manner. Relational databases enable data to be stored in multiple tables linked together via data indexes. This makes working with the data faster and easier. Once entered into the database, the data may be manipulated or viewed in various ways such as by sorting or by specially set- up queries and reports. https://www.ischool.utexas.edu/technology/tutorials/offic

Mic office access tutorial for beginners

Embed Size (px)

Citation preview

Page 1: Mic office access tutorial for beginners

Aimina Zalfa Salsabila – Sasha Y7

For beginners

Access is an interactive, relational database management system. A database is an organized collection of data stored in categories that are accessible in a logical or practical manner. Relational databases enable data to be stored in multiple tables linked together via data indexes. This makes working with the data faster and easier. Once entered into the database, the data may be manipulated or viewed in various ways such as by sorting or by specially set-up queries and reports.

https://www.ischool.utexas.edu/technology/tutorials/office/access03/access2003.pdf

Page 2: Mic office access tutorial for beginners

FIRSTLY…..

1.Click the green “Start” button, go to “All Programs”, click “Microsoft Office”, 2.and search for “Microsoft Office Access 2003” and click it once.

Page 3: Mic office access tutorial for beginners

2. After opening Access, you will be presented with the window shown like this…

3. If you want to edit an existing database, you can either go to “File”, and then click “Open”. There are 2 option. You also can move your cursor to the lower right – hand side and click “Open”.

Page 4: Mic office access tutorial for beginners

How to create a database?

4. Firstly you need to go to “File”, then click “New”, or move your cursor to the lower right side toclick on “Create a new file”. And as you can see, you will see this five option menu…

5. Then, you must to save an Access database before you start working on it. So first, you need to click on “Blank database…” in the first option. And in the New Database dialogue box, type a name inthe “File name:” then click “Create”.

And it will be like this (A new database are created)

Page 5: Mic office access tutorial for beginners

There are 7 Database Components….

1. Tables• Tables are where the actual data is defined and entered. Tables consist of records (rows) and

fields (columns).

2. Queries• A query consists of specifications indicating which fields, records, and summaries you want to

see from a database. Queries allow you to extract data based on the criteria you define.

3. Forms• Forms are designed to ease the data entry process. For example, you can create a data entry

form that looks exactly like a paper form.

4. Reports• When you want to print a records from your database, first you need to design a report. Access

also have a wizard to help produce mailing labels.

5. Pages• A data access page is a special type of Web page designed for viewing and working with data

from the Internet or an intranet. This data is stored in a Microsoft Access database or a Microsoft SQL Server database.

6. Macros • A macro is a set of one or more actions that each performs a particular operation, such as

opening a form or printing a report. Macros can help you automate common tasks.

7. Modules• A module is a collection of Visual Basic for Applications declarations and procedures that are

stored together as a unit.

Page 6: Mic office access tutorial for beginners

Creating Tables in Design View… 6. By clicking the Table tab on the left hand side, you will find Access provides three ways to create a table for which there are icons in the Database window. • Create Table in Design view will allow you to create the fields of the table.• Create table by using wizard will step you through the creation of a table. • Create table by entering data will give you a blank datasheet with unlabelled columns that looks much like an Excel worksheet.

7. So you need to “double click” on Create table in Design view displays the “Table Design” screen where you define fields for your table.

A top pane is for entering the field name, data type, and an option description of the field.

A bottom pane for specifying field properties.

Page 7: Mic office access tutorial for beginners

8. Every table always consists of fields. For each field, specify the name of the field, the type of data, and any description needed to determine what data the field contains. Pressing the Tab key moves the cursor from one column to the next in the Table Design screen.

9. 4. Each table in your database should have a “primary key.” A primary key is a field that uniquely identifies each record in the database. To set the primary key for your table, highlight the key field and choose “Primary Key” from the Edit menu. 10. When the primary key is set, you should find a

little key icon next to the field name on the left side.

Page 8: Mic office access tutorial for beginners

11. As a final step, the table must be saved. Pull down the File Menu to choose Save. Then click OK

12 . Yes, now you already created a new table and it’s already. Then you need to Switch back to Access main screen by pulling down the File menu and choosing Close .

And it will be like this…

Page 9: Mic office access tutorial for beginners

Now, how to enter the data??

14. So for example, the result will be like this. To enter the data, all you need to do now is click the mouse in the field you want to enter and type it. Press the “Tab” key to move from field to field. When you are in the last field of a record, pressing the Tab key automatically creates a new record for you.

13. After you have defined fields in the table, you can enter data. Highlight the table, choose “Open” from the database windows menu bar.

Page 10: Mic office access tutorial for beginners

15. Use the “Datasheet View” to add, delete, and move records.

16. To save your new data, pull down the “File” menu and click “Save”. Or to navigate the other records in the table, use the navigation bar at the bottom of the screen. How to sorting and searching your records???? 1. Sorting Records *To sort records by a particular field, select the field you want to sort. From the Records menu, select “Quick Sort” then choose either Ascending or Descending order.

2. Finding Records If you want to locate a record that contains a certain name or date use the Find command on the Edit menu. Type the search string in the Find What box and click Find First. Access will highlight the first record that contains the search string.

Page 11: Mic office access tutorial for beginners

Table Relationship

17. Click the “Relationships” button on the toolbar.

18. From the Show Table window (click the Show Table button on the toolbar to make it appear), double click on the names of the tables you would like to include in the relationships. When you have finished adding tables, click “Close” .

19. To link fields in two different tables, click and drag a field from one table to the corresponding field on the other table and release the mouse button. The “Edit Relationships” window will appeared. From this window, select different fields and an option from “Enforce Referential Integrity” if necessary.

20. Check the “Enforce Referential Integrity” box to ensure that the relationships are valid and that the data is not accidentally deleted when data is added, edited, or deleted. Click “Create” to create the link.

Page 12: Mic office access tutorial for beginners

21. And the results is, as you can see a line now connects the two fields in theRelationships windows. Close the relationships screen and select “Yes” to save the changes to the “Relationships” layout.

How to create the queries?

22. To make a queries, click on the “New” button in the database window . Choose “Design View”, then click “OK”.

23. In the Show Table dialog box, you will be asked to choose a table for the query. Select the table you want to query and click “Add”.

Page 13: Mic office access tutorial for beginners

24. Add fields from the tables to the new query by double-clicking the field name in the table boxes or selecting the field from the Field and Table drop-down menus on the query form.

25. Enter the criteria for the query in the Criteria field. The Expression Builder can also be used to assist in writing the expressions in the Criteria field.

26. After you have selected all of the fields and tables, click the “Run” button on the Toolbar.

27. Choose “Save” from the “File” menu to save a query for later execution.