ECDL Module 5. REFERENCE MANUAL Databases. Microsoft Access 2003 Edition for ECDL Syllabus Four
|
|
|
- Tamsin Bennett
- 10 years ago
- Views:
Transcription
1 ECDL Module 5 REFERENCE MANUAL Databases Microsoft Access 2003 Edition for ECDL Syllabus Four
2 PAGE 2 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Cheltenham Courseware Ltd. Crescent House 24 Lansdown Crescent Lane Cheltenham Gloucestershire GL50 2LD, UK Tel: +44 (0) Fax: +44 (0) [email protected] Internet: All trademarks acknowledged. E&OE. Cheltenham Courseware Ltd No part of this document may be copied without written permission from Cheltenham Courseware unless produced under the terms of a courseware site license agreement with Cheltenham Courseware. All reasonable precautions have been taken in the preparation of this document, including both technical and non-technical proofing. Cheltenham Courseware and all staff assume no responsibility for any errors or omissions. No warranties are made, expressed or implied with regard to these notes. Cheltenham Courseware shall not be responsible for any direct, incidental or consequential damages arising from the use of any material contained in this document. If you find any errors in these training modules, please inform Cheltenham Courseware. Whilst every effort is made to eradicate typing or technical mistakes, we apologise for any errors you may detect. All courses are updated on a regular basis, so your feedback is both valued by us and will help us to maintain the highest possible standards. Sample versions of courseware from Cheltenham Courseware (Normally supplied in Adobe Acrobat format) If the version of courseware that you are viewing is marked as NOT FOR TRAINING, SAMPLE, or similar, then it cannot be used as part of a training course, and is made available purely for content and style review. This is to give you the opportunity to preview our courseware, prior to making a purchasing decision. Sample versions may not be re-sold to a third party. For current license information Cheltenham Courseware reserves the right to alter the licensing conditions at any time, without prior notice. No terms or conditions will affect your rights as defined under UK law. Please see the site license agreement available at: PLEASE NOTE: Web sites listed or illustrated within this document are purely for illustrative purposes and their inclusion does not imply endorsement by the authors or suppliers of this document. No company or organisation has paid to have their web sites or other information included within this document.
3 PAGE 3 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL ECDL Approved Courseware The ECDL Foundation has approved these training materials and requires that the following statement appears in all ECDL Foundation approved courseware. European Computer Driving Licence, ECDL, International Computer Driving Licence, ICDL, e-citizen and related logos are trade marks of The European Computer Driving Licence Foundation Limited ( ECDL-F ) in Ireland and other countries. Cheltenham Courseware is an entity independent of ECDL-F and is not associated with ECDL-F in any manner. This courseware publication may be used to assist candidates to prepare for ECDL tests. Neither ECDL-F nor Cheltenham Courseware warrants that the use of this courseware publication will ensure passing of ECDL tests. This courseware publication has been independently reviewed and approved by ECDL-F as complying with the following standard: Technical compliance with the learning objectives of ECDL syllabus 4. Confirmation of this approval can be obtained by reviewing the Courseware Section of the website The material contained in this courseware publication has not been reviewed for technical accuracy and does not guarantee that candidates will pass ECDL tests. Any and all assessment items and/or performance-based exercises contained in this courseware publication relate solely to this publication and do not constitute or imply certification by ECDL-F in respect of ECDL tests or any other ECDL-F test. For details on sitting ECDL tests and other ECDL-F tests in your country, please contact your country's National ECDL/ICDL designated Licensee or visit ECDL-F s web site at Candidates using this courseware publication must be registered with the National Licensee, before undertaking ECDL tests. Without a valid registration, ECDL tests cannot be undertaken and no ECDL test certificate, nor any other form of recognition, can be given to a candidate. Registration should be undertaken with your country's National ECDL/ICDL designated Licensee at any Approved ECDL test certificate Test Centre. Syllabus 4 is the official syllabus of the ECDL certification programme at the date of approval of this courseware publication.
4 PAGE 4 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL ECDL APPROVED COURSEWARE... 3 USING THE APPLICATION... 6 DATABASE CONCEPTS... 6 Understanding what a database is... 6 Understanding how a database is organised... 7 Understanding what a primary key is... 8 Understanding what an index is... 8 Understanding the purpose of relating tables in a database... 8 Understanding the importance of setting rules to ensure relationships are valid... 9 FIRST STEPS WITH DATABASES Opening and closing Microsoft Access Opening an existing database Creating a new database Saving a database to a location on a drive Using Help Closing the database...19 ADJUSTING SETTINGS Changing between view modes in a table, form or report Displaying or hiding toolbars TABLES MAIN OPERATIONS Creating and saving a table and specifying fields with their data types Adding and deleting records in a table Adding a field to an existing table Adding and modifying data in a record Deleting data in a record Using the Undo command Navigating within a table Deleting a table Saving and closing a table DEFINING KEYS Defining a primary key Indexing a field without duplications allowed TABLE DESIGN/LAYOUT Changing field format attributes Understanding consequences of changing field size attributes in a table Creating a simple validation rule for number, text, date/time or currency Changing width of columns in a table Moving a column within a table TABLE RELATIONSHIPS Creating a one-to-one or one-to-many relationship between tables Deleting relationships between tables Applying rule(s) to relationships FORMS WORKING WITH FORMS Opening a form Creating and saving a form Using a form to enter, modify or delete records Navigating through records Adding and modifying text Headers and Footers within a form Deleting a form Saving and closing a form RETRIEVE INFORMATION MAIN OPERATIONS Using the search command to find a specific word, number or date within a field... 64
5 PAGE 5 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Applying a filter to a table or form Removing a filter from a table or form QUERIES Creating and saving a single table query or two-table query using specific search criteria Adding criteria to a query using any operators Editing a query by adding or removing criteria Editing a query by adding, removing, moving, hiding and un-hiding fields Running a query Deleting a query Saving and closing a query SORTING RECORDS Sorting data in a table, form or query REPORTS WORKING WITH REPORTS...83 Creating and saving a report based on a table or query Changing arrangement of data fields and headings within report layout Grouping data under a specific heading (field) in a report in ascending or descending order Presenting specific fields in a grouped report at appropriate break points Adding and modifying text within Headers and Footers in a report Deleting a report Saving and closing a report PREPARE OUTPUTS PREPARING TO PRINT Previewing a table, form or report Changing report orientation or paper size PRINTING OPTIONS Printing a page, selected record(s) or a complete table Printing all records using form layout or specific pages using form layout Printing the result of a query Printing specific page(s) of a report or a complete report
6 PAGE 6 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Using the Application Database Concepts Understanding what a database is What is data? DATA is made up of text, numbers, images and in some cases sounds which can be processed or stored by a computer. By itself data might not mean very much. In order to understand it, it needs to be interpreted (or processed) to become information. INFORMATION is the meaning given to data by the way in which it is interpreted. To illustrate the difference, MURRAY, and 10 mean little as data. But if we were able to interpret them as the name of a salesman, Murray, his annual basic salary of $15,000 and his commission rate of 10%, it would assume more meaning and could be called information. This is not necessarily the end of the story as this information could be included in another set of data and used to provide other information. Alternatively, the same data could be interpreted in another way. It is often helpful to think of data as the raw ingredients of a recipe which when processed and mixed in different amounts by differing techniques produce different results. What is a database? A simple definition of a database is: A STRUCTURED COLLECTION OF RELATED DATA ABOUT ONE OR MORE SUBJECTS. In normal daily life we make frequent use of databases, and probably don t realise it. Here are a number of simple examples: - The telephone directory - Bus or train timetable - Personal address book - Filing cabinet What is a relational database? A simple relational database, such as Microsoft Access, is a database which is based on tables. Each column within a table defines the fields, while each row defines the records. Different related data can be held in separate tables. For instance information about suppliers can be held in one table, while information about products can be held in a separate table.
7 PAGE 7 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Understanding how a database is organised What is a table? A table holds data about a particular item, such as products or suppliers. What is a record? A record is a collection of information which relates to a particular item within your database table. For instance a record in an address book may consist of the first and second name of a person, plus their phone number and address details. Each item within a record is called a field. What is a field? Fields are the individual items which make up a record within your database. In the example of an address book database, first and second names of your contacts would both be field names, as would the telephone number. What is meant by 'Field data types'? A field must have a specific data type format. We will see more about this later, but for now the illustration shows you the data types which are available within Microsoft Access, including TEXT, NUMBER, CURRENCY etc. What is meant by 'Field properties'? Each field has a range of field properties associated with it. For instance the Field Size (set to 50 in the example shown), means that the field will hold a maximum of 50 characters.
8 PAGE 8 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Other properties include items such as data validation, which means that the sort of information which is being entered into a field makes sense! Understanding what a primary key is What is a primary key? Primary keys uniquely identify each record in your table and provide the following advantages: - An index is automatically created for the primary key. This speeds up data retrieval and sorting. Also, the primary key is often used in establishing relationships. - Records in a form or Datasheet are displayed in primary key order. - Duplicate records are not allowed. Therefore all records are unique - A primary key can be made up of one or more fields. Understanding what an index is What is an index? An index allows Microsoft Access to work faster when finding and sorting records. They work in a similar way to the way you would use an index in a traditional book, i.e. Access uses the index to find the location of the required data. Indexes can be created using a single field, or using multiple fields. Understanding the purpose of relating tables in a database
9 PAGE 9 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Why relate tables? When using Access you normally set up a number of tables, such as Customers, Products, Orders, Employees etc. The next stage is to define relationships between these tables so that the information within each table can be linked with the information in the other tables. Once these table relationships are defined we can create queries, forms and reports to display information which is actually spread across several tables. Understanding the importance of setting rules to ensure relationships are valid Design and document your database! It is extremely important to spend time designing your database as time spent here will often pay dividends later on in the process, as you know where you are going and what you are trying to do. How do you know if you ve got there if you don t know where you are going? Questions to ask yourself When setting out on the difficult design stage of producing the database there are a number of questions which you should ask yourself or your user. WHAT DO I WANT?: You must first establish why you require your database and what you expect to get from it. It is most important to define your output needs first. Mistakes are often made because people try to decide what to put into their database before they know what they want from it. WHAT HAVE I GOT?: Knowing what you want then allows you to look critically at what data you have and make decisions as to how it should be structured in terms of fields and tables. WHAT DO I NEED TO DO?: This question asks you to look at any manipulation you need to carry out in order to achieve your information output: searches, sorts, and calculations. Define your needs In order to clarify your needs it is often useful to draw a simple diagram and/or write a short narrative. If the database is being designed for others, show them your sketch/narrative and use it to check your understanding of their requirements. EXAMPLE: C.C.Toys is a retailer of toys for children of all ages. It buys its toys from a
10 PAGE 10 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL number of suppliers. It employs four staff. The store is laid out according to themes under a number of categories (e.g. Soft toys, Games Software etc.). Orders to suppliers can be for either single or multiple products. The illustration below shows the tables needed for C.C. Toys. CATEGORIES PRODUCTS ORDERS SUPPLIERS EMPLOYEES C.C. Toys Basic design rules If you stick to a set of rules when designing your database, it will make your life much easier when using the database! MAKE EACH RECORD UNIQUE: Each table should be allocated a primary key. A primary key is simply a field or a combination of fields which makes a record unique. Give your table a primary key to ensure you have no duplicate records. Select the primary key yourself. If you let Access define the primary key, it will add a counter field at the beginning of each record. The counter will be incremented on every new record added to the table. Although this guarantees the uniqueness of the record, it does mean that two records could contain identical data (apart from the key itself). MAKE EACH FIELD UNIQUE: If you have repeated the same kind of information in a table, you should put it into another table. MAKE FIELDS FUNCTIONALLY DEPENDENT: Each field in the record
11 PAGE 11 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL should relate to the subject of the record. If it doesn't, it's either redundant or it belongs in another table! ENSURE EACH FIELD IS INDEPENDENT: You should be able to alter any one field in a record without affecting any of the others. ENSURE FIELDS DON T CONTAIN CALCULATED OR DERIVED DATA: As an example, you need only hold gross pay and deductions on a person's salary record. Net pay can be calculated when it is required, when printing the pay slip for instance. ENSURE DATA IS IN ITS SMALLEST LOGICAL PARTS: It might be useful, for instance, to keep customers' postcodes separate from the rest of their addresses so that you can analyze sales based on postal regions. First Steps with Databases Opening and closing Microsoft Access To start Access Click on the Windows START icon. Click on ALL PROGRAMS. Click on MICROSOFT OFFICE. Click on the MICROSOFT OFFICE ACCESS icon from within the submenu displayed. NOTE: The exact location of the MICROSOFT OFFICE ACCESS icon may vary, depending on your particular version of Microsoft Access. To close Microsoft Access Click on the application's CLOSE icon, at the top-right of the application window. Opening an existing database
12 PAGE 12 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To open a database Click on the FILE drop down menu and select the OPEN command, the OPEN dialog box will be displayed. Select the database you wish to open and then click on the OPEN button. Creating a new database To create a new database Click on the FILE drop down menu & select the NEW command. This allows you to open an existing database, or it gives you options for creating a new database. BLANK DATABASE: Allows you to create a new, blank database. TEMPLATES ON MY COMPUTER: Displays the TEMPLATES dialog box allowing to the select from a wide range of Access templates.
13 PAGE 13 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL You can click on the DATABASES tab (at the top of this dialog box), to see more options as illustrated. Once you have selected the type of database you wish to create the FILE NEW DATABASE dialog box will be displayed.
14 PAGE 14 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Enter a name for your new database into the FILE NAME box and click on the CREATE button. Saving a database to a location on a drive To save a database Choose SAVE AS from the FILE menu. To save a database file to a diskette NOTE: Many PCs are now supplied without a floppy disk drive installed. There is no easy way within the Access application to save a database opened from the hard disk to a floppy disk. However, you may use the Windows Explorer to copy a file to your floppy disk. Start the WINDOWS EXPLORER program. Select the database file on your hard disk which you wish to copy to a floppy disk. Right click on the file and select SEND TO 3 1/2" FLOPPY command. Using Help What is the Microsoft Office Assistant? By default this friendly little creature, will watch what you do and offer tips on how to work more productively. You can ask it questions in plain English!
15 PAGE 15 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Occasionally the Office Assistant will display information on the screen. If you are unsure about how to use this product you should always read the help offered. You can choose to implement the tip, have it explained, or to ignore the tip. To display the Microsoft Office Assistant Select the SHOW THE OFFICE ASSISTANT command from the HELP drop down menu. To hide the Microsoft Office Assistant Right click on the Office Assistant and from the menu displayed, click on the HIDE command. To disable the Microsoft Office Assistant Right click on the Office Assistant and from the menu displayed, click on the OPTIONS command. De-select the USE THE OFFICE ASSISTANT option.
16 PAGE 16 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the OK button. The Help drop down menu Click on the HELP drop down menu and select the command which you require. Remember that if you move the mouse arrow to the down arrow at the bottom of the menu, the menu will expand to show all available commands, as illustrated. Help Menu - Microsoft Access Help command Click on HELP drop down menu and select the MICROSOFT ACCESS HELP command. By default this will display the MICROSOFT ACCESS HELP side panel.
17 PAGE 17 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Help Menu - Microsoft Office Online Clicking on this option under the HELP drop down menu will open your web browser and display the Office Online web site. Through this web site you can download additional templates and software updates for Access and other Office applications. Click on the area of the map relating to your location, and follow the onscreen directions. Help Menu Activate Product You need to select this option when you first install Access onto a PC. It is a way of registering the Product with Microsoft and represents Microsoft attempts to prevent illegal copying of their products. You only need to activate the product once, and if you try a second time you will see the following message.
18 PAGE 18 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Help Menu - Detect and Repair Selecting this option under the HELP drop down menu will display the following dialog box. Click on the START button and follow through the onscreen prompts. Help Menu - About Microsoft Access Clicking on this option under the HELP drop down menu will display the following dialog box. This screen will display the exact release version of the application. It will also display your Product ID (removed in the illustration for security reasons).
19 PAGE 19 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Closing the database To close a database Choose CLOSE from the FILE menu OR click on the CLOSE icon in the top right of the DATABASE window. Adjusting Settings Changing between view modes in a table, form or report To switch between views when using tables, forms or reports There are two views for tables, forms and reports. THE DESIGN VIEW: This view is used by the person who creates the database in the first place (as opposed to the end user, who will later enter data into the database). This view is used, as the name suggests, to design the table, form or report. An example of a table displayed in Design View is shown below. As you can see there are all sorts of options which you can set relating to the fields within the database.
20 PAGE 20 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL THE DATASHEET VIEW: This is used by the person entering data into a database.
21 PAGE 21 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To switch between Design and Datasheet View Click on the VIEW icon on the toolbar. or Displaying or hiding toolbars To display or hide a toolbar (using the View menu) To display a toolbar, select the TOOLBARS command from the VIEW menu to display the TOOLBARS drop down menu. A list of toolbars is displayed which includes: Standard, Formatting, Borders, Database, and Drawing etc. Choose the TOOLBAR you want to display by clicking on it from the list. To display or hide a toolbar by right-clicking A quick way of displaying/hiding toolbars is to right click on an existing toolbar, this will display the TOOLBARS drop down menu, from which you can select or deselect toolbars.
22 PAGE 22 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Tables Main Operations Creating and saving a table and specifying fields with their data types To create a table and specify field data types. In the OBJECTS section of the main dialog box, make sure that TABLES is selected. Double click on the CREATE TABLE IN DESIGN VIEW option, which will open a dialog box allowing you to create a table. In the FIELD NAME section of the dialog box, enter the name of the first field. In this example we have entered 'FIRST NAME'.
23 PAGE 23 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Press the TAB key (the key with the two opposing, horizontal arrows on it). This will take you to the next column, called 'Data Type'. Notice that the default data type displayed is TEXT. Click on the down arrow which is now displayed within the right side of this column and a popup menu will be displayed. You can use this popup menu to change the data type for that field. As the field will be the first name of a record, i.e. text, we will keep the default data type of text. Press the TAB key again and this will take you to the DESCRIPTION field. This optional field allows you to describe the purpose of the field.
24 PAGE 24 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL As the field name in this case is self-evident we have no need for this optional field and can press the TAB key again. This will take you to the next row down in the 'FIELD NAME' column. We can enter another field, such as 'SECOND NAME'. Pressing the TAB key again allows you to set the data type, which again we will keep as text. We will now add a field called 'COMPANY REFERENCE NUMBER', which this time we will set as a number. When we have finished the table will look like this.
25 PAGE 25 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL We can now save the table by clicking on the SAVE icon. You will see a dialog box in which you can enter your table name. Clicking on the OK button may display a further dialog box. Clicking on the YES button will save and set a primary key. Close the table (by clicking on the close icon at the top-right of the table window). You will see the table displayed within the DATABASE dialog box. In the example shown the table is called 'MY TABLE'.
26 PAGE 26 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Adding and deleting records in a table To add records to a table In the previous section we saw how to create a table. Double click on the name of the table which you wish to open. The table will be displayed, into which you can enter your data. We can enter data as illustrated (using the Tab key to jump from field to field). If we try entering letters, rather than numbers into the company reference, we will see the following message displayed (as we set the data type to number, not text).
27 PAGE 27 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL When we have finished entering our records, we can save and close the table. To delete records within a table Select the entire record row as in the example shown. Press the DELETE key. A warning dialog box will be displayed. Click on the YES button to confirm the record deletion. Adding a field to an existing table To add a field to an existing table In the previous sections we saw how to create a table and then how to add records to the table. Let s say that after using the table for a while, we have decided that there should have been one or more extra fields within the table. First we need to open the table, which we can do by double clicking on the table name, displayed within the DATABASE window.
28 PAGE 28 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the VIEW icon (top-left within the Access window). This will change the view to the design view, allowing you to modify the structure of the table. The screen will resemble that illustrated. Within the FIELD NAME column, click in the cell under the 'COMPANY REFERENCE NUMBER'. We will enter a field relating to whether the person is in the company retirement scheme or not. We will call the field 'IN COMPANY PENSION?'. In the Data Type section we will set the option to YES/NO.
29 PAGE 29 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL The finished table will look like this. If we click on the VIEW icon (top-left within the Access window) we can see the new field displayed You may first be prompted to save your changes. You will then see the tables as illustrated.
30 PAGE 30 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL We can either click or not click these company pension check boxes, as illustrated. Adding and modifying data in a record To add data to a record Open the table containing the record which you wish to add data to. Click within the field you wish to enter your data into. Enter your data. To modify data within a record Open the table containing the record which you wish to modify. Edit the data within the record which you wish to modify (using the same techniques as you when using a word-processor). Deleting data in a record
31 PAGE 31 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To delete data within a record Open the table containing the records which you wish to modify. Delete the data within the record which you wish to remove (using the same techniques as you would when using a word-processor, i.e. select and then press the DELETE key). Using the Undo command To use the Undo command Click on the UNDO icon in the toolbar. Navigating within a table To navigate through a table to edit records Whether you edit your records through a Datasheet or a form, there is, as usual, a variety of ways to do it. As far as your user is concerned, you should make it as straightforward and uncomplicated as possible: for the user, there should only be one right way. Many editing operations first involve selection. To replace a field, you first select it and then type in the new value. The grey area to the left of each record in the Datasheet is called the record selector. The following symbols indicate the status of the record: Current record. Record is selected. Record is being edited. Last (empty) record. To move to a field using the mouse Move the mouse pointer over the required field and click.
32 PAGE 32 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL NOTE: If you click in the leftmost position in the field, the whole field is selected. To move through the table using the keyboard To move from field to field and record to record, use one of the following methods: TAB: to the next field. SHIFT+TAB: to the previous field. HOME: to the first field of the current record. END: to the last field of the current record. (DOWN ARROW KEY): to the next record. (UP ARROW KEY): to the previous record. CTRL+HOME: to the first field of the first record. CTRL+END: to the last field of the last record. PAGE UP: scroll up one page. PAGE DOWN: scroll down one page. To move from record to record using the scroll bar and mouse To move from record to record: to the next record to the previous record to the last record to the first record To move to a specific record using the Edit menu Choose GO TO from the EDIT menu and select FIRST, LAST, NEXT, PREVIOUS or NEW RECORD.
33 PAGE 33 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To move to a specific record using the keyboard Press F5 to highlight the record number on the scroll bar. Type the number of the record you want. Press ENTER. Deleting a table To delete a table Select the table which you wish to delete, such as a table in the example below.
34 PAGE 34 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Press the DELETE key and you will see a warning dialog box. Clicking on the YES button will delete the selected table. Saving and closing a table To save a table To save a table, click on the FILE drop down menu and select the SAVE command. To close a table To close a table, click on the CLOSE icon at the top-right of the table window. Defining Keys
35 PAGE 35 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Defining a primary key To define a primary key (automatically when creating a table) When you create a new table part of the process will automatically assign a primary key to the table, as in the following example where we used the CREATE TABLE IN DESIGN VIEW option. We created the following fields. We then save the table, as illustrated. A dialog box is then displayed, offering to create a primary index. Clicking on the YES button will create a primary index as illustrated (using an AUTONUMBER Data Type). To define a primary key (manually after a table has been created) You can add a primary key to a table which does not already have a primary key set. In the following example we have a table with no primary key.
36 PAGE 36 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the VIEW icon which will display the table in design view. You will notice that the PRIMARY KEY icon is visible within the Design View toolbar. In this case, select the COMPANY ID field and then click on the PRIMARY KEY icon. If you look at the information displayed towards the bottom of your screen, you will see that by default NO DUPLICATES will be allowed. Save the table. If in this example we were to switch back to the Datasheet View and try to enter a record containing a Company ID field number which had already been used, as below:
37 PAGE 37 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL You would see the following error message. Indexing a field without duplications allowed Modifying the way a field is indexed Your primary key field will automatically be indexed so that duplicated entries are not allowed. Thus in the previous example, we created a primary key based on the Company ID Number. This Company ID Number was automatically indexed, so that no two people could have the same Company ID Number. If you wish to change this indexing, you need to display the table in Design View and then select the field to which a primary key has been applied. The field properties will be displayed towards the bottom of your screen. If you click on the down arrow to the right of the INDEXED property, you will see the various options listed from which you can select. Table Design/Layout Changing field format attributes
38 PAGE 38 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To change field format attributes. Open the table which you wish to modify. If necessary, click on the VIEW icon (top-left within the Access window) so that we can see the table displayed in design view. The screen should resemble that illustrated. Click on the field which you wish to modify the attributes of. In this example if we click in the DATA TYPE cell for the FIRST NAME field. We will see the following information displayed. Towards the bottom of the screen you can see information displayed relating to field attributes. TO MODIFY FIELD SIZE: Click within the FIELD SIZE section of the dialog box. You can see a description of the attributes function displayed to the right (in blue). Enter the maximum size that you wish to set for this field. The size being the maximum number of characters which can be entered into this field. TO MODIFY NUMBER FORMAT: Within a table (in design view), click on a field which has a NUMBER Data Type.
39 PAGE 39 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click within the FORMAT section of the dialog box, a description of the attributes function is displayed to the right (in blue). When you click on the down arrow to the right of the FORMAT section you will see the different number formatting options displayed. Click on the required format. TO MODIFY DATE FORMAT: Within a table (in design view), click on a field which has a DATE/TIME Data Type. Click within the FORMAT section of the dialog box (towards the bottom of your screen). When you click on the down arrow to the right of the FORMAT section you will see the different options displayed, click on the required date or time format. Understanding consequences of changing field size attributes in a table Make sure that your field size attributes are long enough! If you make a field attribute too small you will not be able to enter all your data (when entering data in Datasheet view). In the following example the field is set to a maximum of 20 characters, which is too short for some
40 PAGE 40 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL names. If we wished to enter information for a company called CHELTENHAM OFFICE SUPPLIES it would not fit into the available field space. NOTE: The consequences of changing field size to a smaller value is that data already entered in the table would be truncated or lost. Creating a simple validation rule for number, text, date/time or currency To create a validation rule for a number In table design view, select a field which has a NUMBER Data Type. In the FIELD PROPERTIES section of the dialog box (towards the bottom of the screen), click on the VALIDATION RULE section. The screen will resemble that illustrated. Click on the small icon with the 3 dots to the right of the Validation Rule section. This will display the Expression Builder, as illustrated.
41 PAGE 41 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Let s say we want to limit numbers to between 1 and 10,000. We can use the Expression Builder to achieve this. Within the left section of the dialog box, click on OPERATORS. The dialog box will display a range of operators, as illustrated. In this case we wish to limit valid entries to between 1-10,000, so we DOUBLE CLICK on the following item: The screen will be as illustrated.
42 PAGE 42 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL We can then type in the value The screen will be as illustrated. Click on the OK button and the Field Properties section of the dialog box will be as illustrated.
43 PAGE 43 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL If we were to switch to Datasheet View and enter a number into the validated field which was over 10,000, we would see a rather confusing message such as the one below. We can make this message clearer by creating a custom message. To do this we would click within the VALIDATION TEXT area of the dialog box and enter our message, such as 'PLEASE RE-ENTER A NUMBER BETWEEN 1 AND 10,000'. If we were to switch to Datasheet View and enter a number which is between 1 and 10,000, it would be accepted. If however the number was over 10,000, we would see the following error message. To create a validation rule for text In table design view, select a field which has a TEXT Data Type. In the FIELD PROPERTIES section of the dialog box (towards the bottom of the screen), click on the VALIDATION RULE section.
44 PAGE 44 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the small icon with the 3 dots to the right of the Validation Rule section. DOUBLE CLICKING on the + to the left of FUNCTIONS will display the following:
45 PAGE 45 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Clicking on the BUILT-IN FUNCTIONS icon will display the following: In the central column, click on TEXT to display text validation functions. You can pick the text validation function that you require. You can use the WHAT IS THIS help icon to get more information about these functions. To use this click on the question mark at the top-right of the dialog box and then click on an item to get more help.
46 PAGE 46 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL A sample help screen is illustrated. Get into the habit of using the help which is available! To create a validation rule for a date or time In table design view, select a field which has a DATE/TIME Data Type. In the FIELD PROPERTIES section of the dialog box (towards the bottom of the screen), click on the VALIDATION RULE section. You can enter an expression such as the following, which would only allow a date to be entered using the year >=#1/1/02# AND < # 1/1/03# To create a validation rule for currency In table design view, select a field which has a CURRENCY Data Type. In the FIELD PROPERTIES section of the dialog box (towards the bottom of the screen), click on the VALIDATION RULE section. You can enter an expression such as the following, which would only allow an amount to be entered in the range of 1 to >0 AND <=10000 Changing width of columns in a table To change the width of a column Move the mouse pointer to the line at the right of the field (column heading). It will change to resemble a solid vertical bar intersected by a double-headed arrow.
47 PAGE 47 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Drag the column border to the size you want. Moving a column within a table To move a column(s) Select the column(s) and release the mouse button. Click on the field selector and drag the column(s) to the new location. As you drag the columns a solid bar between columns indicates the current position of the columns being moved. Table Relationships Creating a one-to-one or one-to-many relationship between tables To create a relationship between tables Open the Access application. Open a database Click on the RELATIONSHIPS icon on the toolbar.
48 PAGE 48 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL The RELATIONSHIPS window will be displayed. In this example, drag the CUSTOMERID field from the CUSTOMERS table and drop it on top of the CUSTOMERID field in the ORDERS table. The EDIT RELATIONSHIPS dialog box will be displayed. Click on the CREATE button to establish a one-to-many relationship between the 2 fields. Edit the relationship you have just created by double clicking on the line which connects the 2 fields. The EDIT RELATIONSHIPS dialog box will be displayed once more.
49 PAGE 49 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the ENFORCE REFERENTIAL INTEGRITY check box. Select the CASCADE UPDATE RELATED FIELDS check box. Select the CASCADE DELETE RELATED RECORDS check box. Selecting these options will ensure that changes made to the CustomerID field in one table are reflected in the related field in the other table. Click on the OK button to apply the changes. Close the database. Close the Access application. Deleting relationships between tables To delete a relationship between tables Click on the TOOLS drop down menu and select RELATIONSHIPS. Click on the relationship line which you wish to delete. Press the DELETE key, and you will see a warning dialog box, asking if you wish to PERMANENTLY delete the relationship. Click on the YES button to confirm the deletion. Applying rule(s) to relationships To enforce referential integrity When you create a relationship, or when you double click on an existing relationship line (within the RELATIONSHIPS window), you will see the EDIT RELATIONSHIPS dialog box. You can apply relationship rules, by clicking on the ENFORCE REFERENTIAL INTEGRITY check box. This ensures that relationships between records in related tables are valid. It means that you will not be able to accidentally modify related data.
50 PAGE 50 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Selecting CASCADE UPDATE RELATED FIELDS means that if you change the primary key in the record of a table, Access updates the corresponding fields in related records with the new value. Example: If you change the number of an order, i.e. the primary key of the Orders record, Access will update the order number field on all of the associated Order Details records. Selecting CASCADE DELETE RELATED RECORDS means that if you delete a primary record, the corresponding records in related tables will be deleted. Example: If you delete an Order record, all of the Order Detail records relating to that order will be deleted.
51 PAGE 51 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Forms Working with Forms Opening a form To open a form Within the main DATABASE window, select FORMS from the Objects list and then select the form you wish to open, such as SUPPLIERS within the database in the example shown. Double click on the selected form to open, as illustrated. Creating and saving a form
52 PAGE 52 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To create a form using the AutoForm Wizard In the DATABASE window select either TABLE or QUERY from the Objects list. Click on a TABLE or QUERY name to select it. Click the down arrow next to the NEW OBJECT icon (within the STANDARD toolbar) and from the drop down menu displayed, select the AUTOFORM command. This will display a form which you can use to enter the information into the table or query.
53 PAGE 53 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL The Form Wizard If possible, use the FORM WIZARD to create your forms. It is easy to use and effective. You can modify the design later if you wish. To create a form using Form Wizard In the DATABASE window select FORMS from the Objects list. Choose the NEW button, which will display the NEW FORM dialog box.
54 PAGE 54 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the FORM WIZARD. Choose the table or query where the objects data will come from.
55 PAGE 55 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the OK button to display the next page of the FORM WIZARD. Click on the field which you wish to add to the form, click on the right printing arrow button to add it to the SELECTED FIELDS section of the dialog box. Repeat this procedure so that all the required fields are added. Remember that you can use the down arrow in the TABLES/QUERIES
56 PAGE 56 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL section of the dialog box to select a different data source which will contain other fields. When you have added the required fields click on the NEXT button. The next page of the dialog allows you to define the layout of the form. Choose the desired option and then click on the NEXT button. The next page of the FORM WIZARD allows you to choose a pre-defined style.
57 PAGE 57 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the required option and click on the NEXT button to continue. This next page of the FORM WIZARD allows you to name the form and set final options for using the form. Click on the FINISH button to create the form. If you chose to "OPEN THE FORM TO VIEW OR ENTER INFORMATION", then the form will be displayed as illustrated.
58 PAGE 58 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Using a form to enter, modify or delete records To enter data into a form Open the form you wish to use by selecting FORMS from the Objects list in the DATABASE window and double clicking on the name of the form. The FORM WINDOW will be displayed. Entering data into a form is much like entering data into a table. Type your data into the form field, once finished press the TAB key to move to the next field. Pressing TAB in the last field will take you to the next record. To create a new record, click on the NEW (BLANK) RECORD icon at the bottom of the FORM WINDOW. To modify data using a form Use the record control arrows to display a record which you wish to alter and modify the data as required. To delete records using a form Display the form for the record which you wish to delete.
59 PAGE 59 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To try and delete this record click on the DELETE RECORD icon on the toolbar. Navigating through records To navigate through a form At the bottom left of the record screen you will see the standard form navigation icons. TO GO TO THE NEXT RECORD: Click on the NEXT icon. TO GO TO THE PREVIOUS RECORD: Click on the PREVIOUS icon. TO GO TO THE FIRST RECORD: Click on the FIRST RECORD icon.
60 PAGE 60 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL TO GO TO THE LAST RECORD: Click on the LAST RECORD icon. TO GO TO A SPECIFIC RECORD. Click within the record number section and enter the required record number, then press the ENTER key. Adding and modifying text Headers and Footers within a form To add text into headers or footers within a form Open the form you wish to edit and switch to Design View. The Form window should now resemble the illustration below: Text must be added beneath either the FORM HEADER or FORM FOOTER bars. If the FORM HEADER or FORM FOOTER bars are not visible, select the FORM HEADER/FOOTER command from the VIEW drop down menu.
61 PAGE 61 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Move the mouse to the bottom edge of either the FORM HEADER or FORM FOOTER bar at the top or bottom of the Form window, your mouse pointer will change into a double-headed arrow. Click and drag the mouse downward to expand the header or footer section. You should now have space into which you can enter your text.
62 PAGE 62 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the LABEL tool from the TOOLBOX. If the TOOLBOX is not displayed, select TOOLBOX from the VIEW drop down menu. Click within the form header or footer section at the location you want to insert your text. Enter your text. Switch back to Form View to see the results of your changes. To modify the header or footer text within a form Open the form you wish to edit and switch to Design View. Click on the text in the header or footer which you wish to edit. Use standard editing techniques to modify the text. Switch back to Form View to see the results of your changes. Deleting a form To delete a form Select the form in the DATABASE window, as in the example below where we have selected SUPPLIERS from of the database. Press the DELETE key. You will see a warning dialog box. Click on the YES button to confirm the deletion. NOTE: YOU CANNOT UNDO THIS DELETION!
63 PAGE 63 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Saving and closing a form To save a form Click on the FILE drop down menu and select the SAVE command. To close a form Click on the form window CLOSE icon (top-right).
64 PAGE 64 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Retrieve Information Main Operations Using the search command to find a specific word, number or date within a field To begin a search Click in the field on which you want to search. Choose FIND from the EDIT menu OR click on the FIND icon on the standard toolbar OR press CTRL+F. This brings up a dialog box headed FIND AND REPLACE. Enter the value you want to find in the box marked FIND WHAT:. There are a number of options you can use to refine your search as follows. LOOK IN Allows you to specify whether the whole table or an individual field should be searched. MATCH The default is MATCH WHOLE FIELD. The other options are to match ANY PART OF FIELD and the START OF FIELD. SEARCH You can select the direction of the search from UP, DOWN or ALL. The default is ALL. MATCH CASE If this box is checked, Access will only find instances of the value where the case matches.
65 PAGE 65 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL SEARCH FIELDS AS FORMATTED You can select this option if you want to search the data as it is formatted rather than how it is held in the table. To search using wildcard characters If you are not sure of all of the characters in your search string (i.e. the value you enter in the FIND WHAT box) you can use wildcard characters as a substitute. They are as follows: QUESTION MARK? Any single character in the same position as the question mark. EXAMPLE: J?ne finds June and Jane. ASTERISK * Any group of characters in the same position as the asterisk. EXAMPLE: B*ge finds Baggage, Barge and Brokerage etc. HASH SIGN # Use this for a single digit in the same position as the hash sign. EXAMPLE: 199# will find all years between 1990 and SQUARE BRACKETS [ ] Use these around two or more characters when you want your search field to include any of them. EXAMPLE: JO[HA]N finds JOHN and JOAN. Include an exclamation mark! after the first square bracket to exclude the characters following it. EXAMPLE: MIN[!T] finds MINE and MIND but excludes MINT. To find a specific value Type the value you want to find into the FIND WHAT box. NOTE: If when adding a record to a table you do not enter anything in a field, Access stores a null value in the field. If, on the other hand, you type a space or, Access counts this as a zero length string. If you want to find a null value, type in the text IS NULL. If you want to find a zero length string, type. Click on the FIND NEXT button or press ENTER. Access moves to the first record in which the value exists and highlights the field.
66 PAGE 66 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on FIND NEXT to find another occurrence of the same value OR click on CLOSE to complete the operation. To find another occurrence of the same value after you have closed the dialog box Press SHIFT+F4 OR click on the FIND NEXT icon (if it is available) on the standard toolbar. Applying a filter to a table or form What is a filter? Filters are basically simple queries but they only apply to open tables or forms. Filters are best used for temporarily altering the view of the data in a table: For filtering out records which you don t want. For narrowing the focus of your view (one year out of many). For viewing records which meet complex criteria. For sorting records on the content of several fields. For sorting fields in differing directions (one ascending another descending). To filter records in a table datasheet by selection Display a database table. Click in a cell containing the item which you wish to filter on. In the example shown we have clicked on a cell containing the word "CAR". Click on the FILTER BY SELECTION icon in the toolbar. In this example, only fields containing the word "CAR" will be displayed, as illustrated.
67 PAGE 67 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To filter records in a table datasheet by form Open a database table. The example shown lists products offered by a toy store. Click on the FILTER BY FORM icon and the table will change, as illustrated. Click on the CATEGORY ID column header, and you will see a drop down menu. Click on the drop down arrow and you may select one of the items displayed to filter this field on. In the example shown we have chosen 2.
68 PAGE 68 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL You can make additional selections for the other fields in the table. In this example we have also selected 10 from the ON ORDER field. We now need to apply the filter. To apply the filter Click on the APPLY FILTER icon, only records matching the filter criteria will be displayed. In this case all products with a Category ID of 2 and an On Order quantity of 10. Removing a filter from a table or form To remove the filter Click on the REMOVE FILTER icon.
69 PAGE 69 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Queries Creating and saving a single table query or two-table query using specific search criteria What are queries? A Database Management System is used mainly for storing and retrieving information. For convenience, efficiency, and to avoid duplication of data, it is stored not in one large table but in separate, smaller tables which can be related. We often need to retrieve information, not as one table of complete records, but as a subset of one or more tables. Suppose you wanted to know how your sales staff had been performing during a particular period. You would probably need to extract information from three tables: Employees, Orders and Order Details. You would need the Employee table for the salesperson's name; the Order table for the dates of the orders; and the Order Details table for the amounts sold. Employee and Order records would be linked by employee number; Order and Order Detail records would be linked by order number. You would want to limit your results to Order and Order Detail records which fell in the specified period. Also, you would only be interested in people employed during that period as sales staff. Ideally you would want to present the information in a report, but first you would need to retrieve it with a query.
70 PAGE 70 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To create a query using the Simple Query Wizard In the DATABASE window select QUERIES from the Objects list. Click the NEW button to display a NEW QUERY dialog box. Select the SIMPLY QUERY WIZARD option and then click on the OK button to move to the next wizard page. To select fields which you wish to add to your simple query Another dialog box will be displayed. Click on the down arrow in the TABLES/QUERIES text box to display available queries and tables from which you can select the fields of interest to you. In the example below, we have selected the SUPPLIERS table.
71 PAGE 71 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To add a field, select the field and click on the right-pointing arrow. In the example below, we have added SUPPLIERID, SUPPLIERNAME, CONTACTNAME and PHONENUMBER.
72 PAGE 72 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL When you have finished adding fields, click on the NEXT button to continue. Give the query a name, using the dialog box illustrated below. Click on the FINISH button to complete the query. NOTE: In the above example, fields from only one table were selected. This illustrates the principle. Remember that you can select additional fields from other queries and tables, not just from a single table!
73 PAGE 73 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Create and name a two-table query with specified criteria In this example we will use the Access Northwind sample database to create a two-table query is much the same as a simple single table query. In the DATABASE window select the QUERIES from the Objects list. Click the NEW button to display a NEW QUERY dialog box. Select the SIMPLY QUERY WIZARD option then click on the OK button to move to the next wizard page. As we saw in the previous section, the first page of the Simple Query Wizard allows you to specify which fields are included in the query. You can add fields from more than one table by selecting an alterative table from the TABLES/QUERIES list.
74 PAGE 74 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Adding criteria to a query using any operators To create a query without the wizard Access provides a number of wizards to help you with the definition of your queries. However there are many instances where a wizard is not applicable and you will need to create a query in design view. This view allows you to specify which fields you want to see and what criteria to use in the query. Select DESIGN VIEW from the NEW QUERY dialog box. Access then opens the Query Grid and displays the Show Tables window on top. The Show Tables window allows you to select the table (or tables) upon which you wish to perform a query. To use the query grid One or more tables can be included in your query. In addition other queries can be included in the new query you are creating. A combination of tables and queries can also be used. The required fields can be selected by dragging them onto the grid, double-clicking on them or by selecting them from the Field row. Specifying criteria or filters for specific fields can restrict query output. Queries can be sorted by one or more fields using the Sort row. Click on the Sort row to select from the options of Ascending or Descending. Sorting works from the left to right if you have more than one column specified. If
75 PAGE 75 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL you wish to return a column to its natural order, select not sorted from the Sort options. Highlighting columns and dragging can change the order of fields displayed in the answer to the query. You may wish to include some fields in the query but not in the answer. This may be useful if you need to specify criteria or a sort order for a particular column, but do not need to see the data displayed for that column in the answer. The Show tick box will be ticked by default when you add a field to the query grid, but you can deselect the field by clicking on this tick box. To run a query When you have built up all the elements of you query, you can run it by clicking on the RUN icon. Logical operators in criteria The use of logical operators enables you to specify complex criteria for searching your tables. Whilst they are fairly straightforward to understand it makes good sense to clarify how they can be used in Access.
76 PAGE 76 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To search using wildcard characters If you are not sure of all of the characters in your search string (i.e. the value you enter in the FIND WHAT box) you can use wildcard characters as a substitute. They are as follows: Specifying more complex criteria The query grid also allows you to specify complex search criteria. You may enter criteria on more than one field: for example, you may wish to list all products which have a name beginning with the letter C and have a
77 PAGE 77 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL stock level of over 20. It is the combination of these two criteria which is applied when you run the query. You can enter criteria on as many columns as you wish. In addition you may wish to specify two or more alternative criteria. For example, you may wish to see all the products which begin with the letter B or the letter C. You can specify as many alternative criteria as you wish. Combining criteria You can also have a combination of multiple criteria and alternative criteria. For example you may wish to see all the products which begin with the letter C and have a stock level of over 20 or begin with the letter B regardless of their stock level. Note that the Or row applies to the whole query not just one column: for example if you wish to see all the products which begin with the letter C and have a stock level of over 20 OR begin with the letter B and also have a stock level of over 20 (note the slight difference in the previous example) then you would need to REPEAT the >20 criteria under UnitsInStock in the Or row. Editing a query by adding or removing criteria To add criteria to a query Open the DATABASE window.
78 PAGE 78 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select QUERIES from the Objects list. Right click on the name of the query you wish to edit and select the DESIGN VIEW command from the pop-up menu. Locate the field on which your new criteria will be applied. Click within the CRITERIA row for that field. You can now either type your criteria into the CRITERIA box or right click and select BUILD from the pop-up menu to use the EXPRESSION BUILDER. In the example below we have entered a criteria of >20 for the UNITSINSTOCK field. Therefore, when the query is run only records where UNITSINSTOCK is greater than 20 will be displayed. To remove criteria from a query Open the DATABASE window. Select QUERIES from the Objects list. Right click on the name of the query you wish to edit and select the DESIGN VIEW command from the pop-up menu. Position your mouse pointer just inside the left hand edge of first field, in line with the criteria row you wish to delete. The mouse pointer will change to a small black arrow pointing to the right, as illustrated. Click once with your mouse button. The row will be selected. To delete this criteria row, press the DELETE key. Editing a query by adding, removing, moving, hiding and un-hiding fields To add a field to a query Open the DATABASE window. Select QUERIES from the Objects list. Right click on the name of the query you wish to edit and select the DESIGN VIEW command from the pop-up menu.
79 PAGE 79 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click within an unused FIELD text box. A down arrow will appear in the right of the text box. Click on the arrow to display a list of fields, select the field you require from the list. To remove a field from a query Display the query in DESIGN VIEW. Position your mouse pointer on the field selection button located just above the field name (your mouse pointer will change to a small downward pointing arrow). Click once with your mouse button to select the field. Press the DELETE key. Press the ENTER key. To move a field in a query Display the query in DESIGN VIEW. Position your mouse pointer on the field selection button located just above the field name. Your mouse pointer will change to a small downward pointing arrow, as illustrated. Click once with the left mouse button to select that field. Once again click on the field selection button, only this time keep the mouse button depressed and drag the field left or right to your desired location. A thick black vertical bar to the left of the field column indicates where the field will be moved to. Release the mouse button to drop the field at the new location. To hide a field in a query Display the query in DESIGN VIEW.
80 PAGE 80 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Each field in the query has an associated SHOW check box. To hide the field, clear the SHOW check box. To show a field in a query Display the query in DESIGN VIEW. Each field in the query has an associated SHOW check box. To show the field, select the SHOW check box. Running a query To run a query Open the DATABASE window. Select QUERIES from the Objects list. Select the query within the main DATABASE window and double click on the query. In some cases you may have to enter information, such as from and till dates. Deleting a query To delete a query Select the query within the DATABASE window. Once selected, press the DELETE key. A warning dialog will be displayed.
81 PAGE 81 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL If you click on YES the query will be deleted. Saving and closing a query To save a query Click on the FILE drop down menu and select the SAVE command. To close a query Click on the CLOSE icon (top-right of the window). Sorting Records Sorting data in a table, form or query Sorting records If you want your records in a different order, you can use QUICK SORT. You might, for instance, hold your employee records by employee reference number but want to view them in alphabetical order of surname. In a table Datasheet, you can use more than one adjacent sort field but in a form you are limited to one sort field only. If you select more than one field in a Datasheet, the leftmost field is the primary sort field. Therefore you might need to rearrange the order of your columns before sorting. To sort records in a table datasheet Select the column or columns on which you want to sort your records. Choose SORT from the RECORDS menu and select SORT ASCENDING or SORT DESCENDING from the sub-menu OR click on the SORT ASCENDING or SORT DESCENDING icons on the standard toolbar. NOTE: An ascending sort arranges the Datasheet with the lowest value first, i.e. 0 to 9 and A to Z. A descending sort does the opposite. To sort records in a form or query Select the fields on which you want to base your sort.
82 PAGE 82 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the SORT ASCENDING or SORT DESCENDING icons on the standard toolbar.
83 PAGE 83 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Reports Working with Reports Introduction to reports Your first step in creating a database should be to establish what you want from it, i.e. the output. Output is normally information displayed either onscreen, or printed. A screen display is usually a Datasheet or a form and is the response to an interactive query or command. Forms can also be printed, but for most purposes, printed reports are the best way to provide hard copy output. This is particularly so for information covering several records, especially when summary information is also required. You can use reports for a variety of purposes: some common examples are periodical sales summaries, stock lists, mailing lists and invoices. The easiest way to produce your own reports is by using the Microsoft Access wizards. There is a choice of different reports. Easiest of all is the AutoReport Wizard, which constructs the whole report according to your instructions. You can also choose single column, Groups/Totals, Mailing Labels, Summary and Tabular reports. Grouping allows you to identify and organise data into logical groups and to provide group and grand totals. Up to a maximum of ten groups are allowed. You can also include a sub-report as part of your report. Before attempting any report design of your own, it would be a good idea to explore some of the reports from the Northwind database supplied with Microsoft Access. You can look at them in print preview and design mode to get an idea of how they are constructed. Creating and saving a report based on a table or query To create a columnar report using AutoReport Wizard Open a database and click on the REPORTS from the Objects list in the DATABASE window. Click on the NEW button.
84 PAGE 84 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the table or query where the objects data comes from. In the example shown we have selected CUSTOMERS from the NORTHWIND database. Select AUTOREPORT: COLUMNAR. Click on the OK button and the column formatted report will be generated and displayed on the screen. To create a tabular report using AutoReport Wizard Open a database and click on the REPORTS from the Objects list in the DATABASE window.
85 PAGE 85 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the NEW button. Select the table or query where the objects data comes from. In the example shown we have selected CUSTOMERS from the NORTHWIND database. Select AutoReport: Tabular. Click on the OK button and the table formatted report will be generated and displayed on the screen. To create a report using Report Wizard Open the DATABASE window. Select the REPORTS from the Objects list.
86 PAGE 86 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the NEW icon, which displays the NEW REPORT dialog box. Select the table or query on which you want the report based. Select the Report Wizard. Click on the OK button. The next page of the REPORT WIZARD is displayed. If necessary select a table or query in the TABLES/QUERIES section of the dialog box.
87 PAGE 87 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To select which fields to add to a report Click on the field which you require and click on the right pointing arrow to add the field to the SELECTED FIELDS section of the dialog box. Repeat this procedure to add the fields which you require within the report. In the illustration below we have added CUSTOMERID, COMPANYNAME, CONTACTNAME and PHONE. Click on the NEXT button to continue.
88 PAGE 88 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To add grouping levels to a report The next page which is displayed allows you to add grouping levels. In this example we have clicked on the NEXT button to continue to the next page of the REPORT WIZARD. To sort records within a report This page of the REPORT WIZARD allows you to sort your records by up to four fields, in either ascending or descending order.
89 PAGE 89 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL In this case we have chosen to sort first by COMPANYNAME and then by PHONE, as illustrated. Click on the NEXT button to continue to the next page.
90 PAGE 90 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL To determine the layout of a report The next page of the REPORT WIZARD allows you to determine the layout of the report. You can select a COLUMNAR, TABULAR or JUSTIFIED layout. You can set the page orientation to PORTRAIT or LANDSCAPE. You can AUTOMATICALLY ADJUST THE FIELD WIDTH so that all the fields fit on the page. When you have selected the options you require, click on the NEXT button to continue to the next page of the REPORT WIZARD To determine the style of a report The next page of the REPORT WIZARD allows you to select from a range of styles, BOLD, CASUAL, COMPACT, CORPORATE, FORMAL or SOFT GRAY.
91 PAGE 91 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL When you have selected the required style, click on the NEXT button to continue to the next page of the REPORT WIZARD. To name a report The next page of the REPORT WIZARD is the final page, which allows you to give a name to the report.
92 PAGE 92 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Enter the report name in the top text box. By default the PREVIEW THIS REPORT button is selected. Click on the FINISH button to generate and preview the report. The final report is displayed on the screen, as illustrated. Changing arrangement of data fields and headings within report layout To alter the position of fields and headings in a report Open the report you wish to edit and switch to Design View. The Report window should now resemble the illustration below: The fields displayed by the report are shown beneath the DETAIL bar, represented by a box containing the field name. To move a field drag & drop the field box to the desired location in the Detail area. TIP: To do this clicking on the edge of a header text box and when the mouse pointer shape changes to a small black hand, drag and drop to a new location The field headings are defined in the PAGE HEADER section. To move a heading drag & drop the heading box to the desired location in the Page
93 PAGE 93 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Header area. Normally the heading should line up with the associated field in the Detail section to make the report easy to read. Switch back to Report View to see the results of your changes. Grouping data under a specific heading (field) in a report in ascending or descending order To group information in a report Display the report in Design View. Select the SORTING AND GROUPING command from the VIEW drop down menu. The SORTING AND GROUPING dialog box will be displayed. Click within the FIELD/EXPRESSION column and select the field you want to apply grouping to from the menu. By default the field will be sorted into ascending order. To change this click within the SORT ORDER column and choose DESCENDING from the menu. Close the SORTING AND GROUPING dialog box by clicking on the CLOSE icon in the top right of the dialog box. Switch back to PRINT PREVIEW view to see the result of your sorting. Presenting specific fields in a grouped report at appropriate break points To calculate statistics for groups in a report Display the report in Design View.
94 PAGE 94 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Select the SORTING AND GROUPING command from the VIEW drop down menu. The SORTING AND GROUPING dialog box will be displayed. Use the SORTING AND GROUPING dialog box select the field you wish to group by. Enable the GROUP FOOTER option in the GROUP PROPERTIES area of the dialog box. This will cause Access to add a footer area beneath each group into which you can add totals for the group, etc. Close the SORTING AND GROUPING dialog box by clicking on the CLOSE icon in the top right of the dialog box. In this example we have grouped the report using the CustomerID field and Access has created a CustomerID Footer area. Select the TEXT BOX tool from the Toolbox. If the Toolbox is not displayed, select TOOLBOX from the VIEW drop down menu.
95 PAGE 95 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click and drag your mouse within the Group Footer area to create the text box. Access will automatically create a label for the text box containing the text TEXTXX:. Click on this label and edit the text as required, for this example we have entered the text TOTAL:. For this example we want to total the value of all the orders in a customer group. To do this, click on the text box containing the text UNBOUND and enter the following formula: When you view the report in PRINT PREVIEW view you will now find that the report is grouped by customer with the total value of the customers orders displayed beneath the order details. There are other formulas which could also be used: =MIN([ORDERVALUE]) : This would display the cost of the order with the least value placed by a customer. =MAX([ORDERVALUE]) : This would display the cost of the order with the most value placed by a customer. =AVG([ORDERVALUE]) : This would display the average value of the orders placed by a customer. =COUNT([ORDERVALUE]) : This would display the count the number of orders placed by a customer.
96 PAGE 96 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Adding and modifying text within Headers and Footers in a report To add text to a report header or footer Open the report you wish to edit and switch to Design View. The Report window should now resemble the illustration below: Text must be added beneath either the REPORT HEADER or REPORT FOOTER bars. If the REPORT HEADER or REPORT FOOTER bars are not visible, select the REPORT HEADER/FOOTER command from the VIEW drop down menu. If there is no space beneath the bar into which you can enter text. Move the mouse to the bottom edge of either the REPORT HEADER or REPORT FOOTER bar at the top or bottom of the Report window, your mouse pointer will change into a double-headed arrow. Click and drag the mouse downward to expand the header or footer section. You should now have space into which you can enter your text. Select the LABEL tool from the TOOLBOX. If the TOOLBOX is not displayed, select TOOLBOX from the VIEW drop down menu.
97 PAGE 97 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click within the report header or footer section at the location you want to insert your text. Key in your text. Switch back to Print Preview view to see the results of your changes. To modify text within a report header or footer Open the report you wish to edit and switch to Design View. Click on the text in the header or footer which you wish to edit. Use standard editing techniques to modify the text. Switch back to Report View to see the results of your changes. Deleting a report To delete a report Open the DATABASE window. Select REPORTS from the Objects list. Select the report within the DATABASE window. Press the DELETE key. A warning dialog box will be displayed. Click on the YES button to confirm the deletion. Saving and closing a report To save a report Click on the FILE drop down menu and select the SAVE command. To close a report Click on the CLOSE icon (top-right of the window).
98 PAGE 98 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Prepare Outputs Preparing to Print Previewing a table, form or report To preview a table, form or report, prior to printing Display the table, form or report on your screen. Select PRINT PREVIEW from the FILE menu. The page will be displayed as it would print, as illustrated. Notice that a new set of toolbar icons are displayed. Click on the CLOSE icon to return to the previous view of the page. Changing report orientation or paper size To change a reports orientation Display the report on your screen. Click on the FILE drop down menu and click on the PRINT SETUP command. This will display a dialog box. Click on the PAGE tab within this dialog box, as illustrated.
99 PAGE 99 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Within the ORIENTATION section of this dialog box, select either LANDSCAPE or PORTRAIT, as required. Click on the OK button. Printing options Printing a page, selected record(s) or a complete table To set what you want to print Display the table which you wish to print from. Click on the FILE drop down menu and select PRINT, which will display the PRINT dialog box.
100 PAGE ECDL MODULE 5 (USING OFFICE 2003) - MANUAL TO PRINT A PAGE: Within the Print Range section of the dialog box, enter the page number of page(s) which you wish to print. TO PRINT SELECTED RECORDS: Within the Print Range section of the dialog box, click on SELECTED RECORD(S). This option assumes that you have selected the records which you wish to print, prior to opening the PRINT dialog box. TO PRINT THE ENTIRE TABLE: Within the Print Range section of the dialog box, click on ALL. Click on the OK button to start printing. Printing all records using form layout or specific pages using form layout Display the form which you wish to print from. Click on the FILE drop down menu and select PRINT, which will display the PRINT dialog box.
101 PAGE ECDL MODULE 5 (USING OFFICE 2003) - MANUAL TO PRINT A PAGE: Within the Print Range section of the dialog box, enter the page number of page(s) which you wish to print. TO PRINT SELECTED RECORDS: Within the Print Range section of the dialog box, click on SELECTED RECORD(S). This option assumes that you have selected the records which you wish to print, prior to opening the PRINT dialog box! TO PRINT ALL RECORDS: Within the Print Range section of the dialog box, click on ALL. Click on the OK button to start printing. Printing the result of a query To print a query Display the query which you wish to print from. Click on the PRINT icon to print the entire query. If you wish to print only part of the query, click on the FILE drop down menu, select the PRINT command, and within the dialog box displayed select what you wish to print. Printing specific page(s) of a report or a complete report Display the report which you wish to print from. Click on the FILE drop down menu and select PRINT, which will display the PRINT dialog box.
102 PAGE ECDL MODULE 5 (USING OFFICE 2003) - MANUAL TO PRINT A PAGE: Within the PRINT RANGE section of the dialog box, enter the page number of page(s) which you wish to print. TO PRINT SELECTED RECORDS: Within the PRINT RANGE section of the dialog box, click on SELECTED RECORD(S). This option assumes that you have selected the records which you wish to print, prior to opening the PRINT dialog box! TO PRINT ALL RECORDS: Within the Print Range section of the dialog box, click on ALL. Click on the OK button to start printing. To print a table, query or report to a file Display the table, query or report which you wish to print to a file. Click on the FILE drop down menu and select the PRINT command. Within the dialog box, select the PRINT TO FILE check box. Click on the OK button. A dialog box will be displayed in which you can enter the file name.
103 PAGE ECDL MODULE 5 (USING OFFICE 2003) - MANUAL Click on the OK button to save the file.
Creating tables in Microsoft Access 2007
Platform: Windows PC Ref no: USER 164 Date: 25 th October 2007 Version: 1 Authors: D.R.Sheward, C.L.Napier Creating tables in Microsoft Access 2007 The aim of this guide is to provide information on using
Microsoft Access Basics
Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision
Microsoft Access 2010 handout
Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant
Microsoft Access 2010 Overview of Basics
Opening Screen Access 2010 launches with a window allowing you to: create a new database from a template; create a new template from scratch; or open an existing database. Open existing Templates Create
Planning and Creating a Custom Database
Planning and Creating a Custom Database Introduction The Microsoft Office Access 00 database wizards make creating databases easy, but you may need to create a database that does not fit any of the predefined
ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0
ECDL European Computer Driving Licence Database Software BCS ITQ Level 1 Using Microsoft Access 2013 Syllabus Version 1.0 This training, which has been approved by BCS, includes exercise items intended
IN THIS PROJECT, YOU LEARN HOW TO
UNIT 2 PROJECT 11 CREATING A CUSTOMIZED DATABASE IN THIS PROJECT, YOU LEARN HOW TO Examine a Database and Its Objects Create Tables and Set Field Properties in Design View Create Relationships Add and
Microsoft Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
European Computer Driving Licence
European Computer Driving Licence ECDL Syllabus 5.0 Module 5 Using Databases ECDL Syllabus 5 Courseware Module 5 Contents UNDERSTANDING DATABASES... 1 KEY CONCEPTS...1 DATABASE ORGANIZATION...1 RELATIONSHIPS...3
ICDL Module 5: David Varley
ICDL Module 5: Databases using OpenOffice.org Base David Varley IMPORTANT NOTICE All candidates who follow an ICDL/ECDL course must have an official CDL/ECDL Skills Log Book or Skills Card. Without such
BusinessObjects: General Report Writing for Version 5
BusinessObjects: General Report Writing for Version 5 Contents 1 INTRODUCTION...3 1.1 PURPOSE OF COURSE...3 1.2 LEVEL OF EXPERIENCE REQUIRED...3 1.3 TERMINOLOGY...3 1.3.1 Universes...3 1.3.2 Objects...4
Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences
Unit 4 Introduction to Spreadsheet and Database, pages 1 of 12 Department of Computer and Mathematical Sciences CS 1305 Intro to Computer Technology 15 Module 15: Introduction to Microsoft Access Objectives:
Microsoft Access 2010- Introduction
Microsoft Access 2010- Introduction Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. Examples of databases are an
Use Find & Replace Commands under Home tab to search and replace data.
Microsoft Access 2: Managing Data in Tables and Creating Relationships You have created tables in an Access database. Data in Access tables can be added, deleted, and updated to be current (practiced in
Consider the possible problems with storing the following data in a spreadsheet:
Microsoft Access 2010 Part 1: Introduction to Database Design What is a database? Identifying entities and attributes Understanding relationships and keys Developing tables and other objects Planning a
C omputer D riving L icence
E uropean C omputer D riving L icence E C D L S y l l a b u s 5. 0 Module 5 Using Databases ECDL Syllabus 5 Courseware Module 5 Contents UNDERSTANDING DATABASES... 1 KEY CONCEPTS... 1 DATABASE ORGANIZATION...
Introduction to Microsoft Access XP
Introduction to Microsoft Access XP Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. An address book or a library
MS Access Lab 2. Topic: Tables
MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction
Introduction to Microsoft Access 2010
Introduction to Microsoft Access 2010 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
Introduction to Microsoft Access 2013
Introduction to Microsoft Access 2013 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
MICROSOFT ACCESS 2003 TUTORIAL
MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body
Microsoft Access 2007 Introduction
Microsoft Access 2007 Introduction Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. Examples of databases are an
Creating and Using Databases with Microsoft Access
CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries
A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.
Microsoft Access A database is a collection of data organised in a manner that allows access, retrieval, and use of that data. A Database Management System (DBMS) allows users to create a database; add,
Microsoft Access Part I (Database Design Basics) ShortCourse Handout
Microsoft Access Part I (Database Design Basics) ShortCourse Handout July 2004, Technology Support, Texas Tech University. ALL RIGHTS RESERVED. Members of Texas Tech University or Texas Tech Health Sciences
SAP Business Intelligence (BI) Reporting Training for MM. General Navigation. Rick Heckman PASSHE 1/31/2012
2012 SAP Business Intelligence (BI) Reporting Training for MM General Navigation Rick Heckman PASSHE 1/31/2012 Page 1 Contents Types of MM BI Reports... 4 Portal Access... 5 Variable Entry Screen... 5
Microsoft Access 2010
IT Training Microsoft Access 2010 Jane Barrett, IT Training & Engagement Team Information System Services Version 3.0 Scope Learning outcomes Learn how to navigate around Access. Learn how to design and
Access 2007 Creating Forms Table of Contents
Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4
Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008
Microsoft Amarillo College Revision Date: July 30, 2008 Table of Contents GENERAL INFORMATION... 1 TERMINOLOGY... 1 ADVANTAGES OF USING A DATABASE... 2 A DATABASE SHOULD CONTAIN:... 3 A DATABASE SHOULD
MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES
MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES Exploring Access Creating and Working with Tables Finding and Filtering Data Working with Queries and Recordsets Working with Forms Working
Microsoft Access 2007 Module 1
Microsoft Access 007 Module http://pds.hccfl.edu/pds Microsoft Access 007: Module August 007 007 Hillsborough Community College - Professional Development and Web Services Hillsborough Community College
Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide
Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick
Using an Access Database
A Few Terms Using an Access Database These words are used often in Access so you will want to become familiar with them before using the program and this tutorial. A database is a collection of related
Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.
Create a table When you create a database, you store your data in tables subject-based lists that contain rows and columns. For instance, you can create a Contacts table to store a list of names, addresses,
User Services. Microsoft Access 2003 II. Use the new Microsoft
User Services July 2007 OBJECTIVES Develop Field Properties Import Data from an Excel Spreadsheet Create Relationships Create a Form with a Subform Create Action Queries Create Command Buttons Create a
Lab 2: MS ACCESS Tables
Lab 2: MS ACCESS Tables Summary Introduction to Tables and How to Build a New Database Creating Tables in Datasheet View and Design View Working with Data on Sorting and Filtering 1. Introduction Creating
Create a New Database in Access 2010
Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...
Excel 2003 Tutorial I
This tutorial was adapted from a tutorial by see its complete version at http://www.fgcu.edu/support/office2000/excel/index.html Excel 2003 Tutorial I Spreadsheet Basics Screen Layout Title bar Menu bar
Intellect Platform - Tables and Templates Basic Document Management System - A101
Intellect Platform - Tables and Templates Basic Document Management System - A101 Interneer, Inc. 4/12/2010 Created by Erika Keresztyen 2 Tables and Templates - A101 - Basic Document Management System
Microsoft Office Access 2007 Basics
Access(ing) A Database Project PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM EMAIL: [email protected] MONROE COUNTY LIBRARY SYSTEM 734-241-5770 1 840 SOUTH ROESSLER
Introduction to Microsoft Office Access 2010
Introduction to Microsoft Office Access 2010 The Himmelfarb Health Sciences Library Questions? Ask us. Microsoft Office Access 2010 by Himmelfarb Health Sciences Library is licensed under a Creative Commons
MICROSOFT ACCESS STEP BY STEP GUIDE
IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the
Access Part 2 - Design
Access Part 2 - Design The Database Design Process It is important to remember that creating a database is an iterative process. After the database is created and you and others begin to use it there will
Enterprise Interface User Guide
Enterprise Interface User Guide http://www.scientia.com Email: [email protected] Ref: 3094 ISO 9001:2000 / TickIT certified Copyright Scientia Ltd 2010 This document is the exclusive property of Scientia
Creating forms in Microsoft Access 2007
Platform: Windows PC Ref no: USER 166 Date: 14 th January 2008 Version: 1 Authors: Derek Sheward, Claire Napier Creating forms in Microsoft Access 2007 This is the fourth document in a series of five on
Chapter 5. Microsoft Access
Chapter 5 Microsoft Access Topic Introduction to DBMS Microsoft Access Getting Started Creating Database File Database Window Table Queries Form Report Introduction A set of programs designed to organize,
Introduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
Excel Database Management Microsoft Excel 2003
Excel Database Management Microsoft Reference Guide University Technology Services Computer Training Copyright Notice Copyright 2003 EBook Publishing. All rights reserved. No part of this publication may
Access Queries (Office 2003)
Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy
Reduced Quality Sample
Access 2007 Essentials PART ONE Mobile MOUSe Access 2007 Essentials Version # 1.1 Part One 08/08/2010 11:20 About this Course Microsoft Access is the database application included with Microsoft Office.
Check out our website!
Check out our website! www.nvcc.edu/woodbr idge/computer-lab Contact Us Location: Open Computer Lab Seefeldt Building #336 NOVA Woodbridge Campus Hussna Azamy (OCL Supervisor) Phone: 703-878-5714 E-mail:
Microsoft Access 2007
How to Use: Microsoft Access 2007 Microsoft Office Access is a powerful tool used to create and format databases. Databases allow information to be organized in rows and tables, where queries can be formed
Microsoft Access 2000 for Windows Handout: 3 Academic Computing Support Information Technology Services Tennessee Technological University December 2001 1. Creating a new database In this exercise, we
INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports
INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports Introduction...2 Tables...3 Designing a Table...3 Data Types...4 Relationships...8 Saving Object Designs and Saving Data...9 Queries...11
Excel 2010: Create your first spreadsheet
Excel 2010: Create your first spreadsheet Goals: After completing this course you will be able to: Create a new spreadsheet. Add, subtract, multiply, and divide in a spreadsheet. Enter and format column
Access I 2010. Tables, Queries, Forms, Reports. Lourdes Day, Technology Specialist, FDLRS Sunrise
Access I 2010 Tables, Queries, Forms, Reports Lourdes Day, Technology Specialist, FDLRS Sunrise Objectives Participants will 1. create and edit a table 2. create queries with criteria 3. create and edit
Access Tutorial 8: Combo Box Controls
Access Tutorial 8: Combo Box Controls 8.1 Introduction: What is a combo box? So far, the only kind of control you have used on your forms has been the text box. However, Access provides other controls
Access 2007. Creating Databases - Fundamentals
Access 2007 Creating Databases - Fundamentals Contents Database Design Objectives of database design 1 Process of database design 1 Creating a New Database... 3 Tables... 4 Creating a table in design view
To determine the fields in a table decide what you need to know about the subject. Here are a few tips:
Access Introduction Microsoft Access is a relational database software product that you can use to organize your data. What is a "database"? A database is an integrated collection of data that shares some
Business Objects Version 5 : Introduction
Business Objects Version 5 : Introduction Page 1 TABLE OF CONTENTS Introduction About Business Objects Changing Your Password Retrieving Pre-Defined Reports Formatting Your Report Using the Slice and Dice
Creating a Database using Access 2007
Creating a Database using Access 2007 Starting Access 2007 Double click on the Access 2007 icon on the Windows desktop (see right), or click-on the Start button in the lower left corner of the screen,
Introduction to MS WINDOWS XP
Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The
EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002
EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 Table of Contents Part I Creating a Pivot Table Excel Database......3 What is a Pivot Table...... 3 Creating Pivot Tables
Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options
The Home Ribbon Sort Buttons: sort records into ascending or descending order by selected field Filter by Selection button. Displays records by degree to which they match the selected record. Display summary
Using Microsoft Access
Using Microsoft Access Forms Although information in a database can be entered and edited directly in a table, most people find it simpler to use a form. We use forms all the time in everyday life as a
Getting Started with Excel 2008. Table of Contents
Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...
Excel Working with Data Lists
Excel Working with Data Lists Excel Working with Data Lists Princeton University COPYRIGHT Copyright 2001 by EZ-REF Courseware, Laguna Beach, CA http://www.ezref.com/ All rights reserved. This publication,
Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)
Lesson 07: MS ACCESS - Handout Handout Introduction to database (30 mins) Microsoft Access is a database application. A database is a collection of related information put together in database objects.
Basic Microsoft Excel 2007
Basic Microsoft Excel 2007 The biggest difference between Excel 2007 and its predecessors is the new layout. All of the old functions are still there (with some new additions), but they are now located
Web Intelligence User Guide
Web Intelligence User Guide Office of Financial Management - Enterprise Reporting Services 4/11/2011 Table of Contents Chapter 1 - Overview... 1 Purpose... 1 Chapter 2 Logon Procedure... 3 Web Intelligence
Agency Manager Professional Software Manual
Agency Manager Professional Software Manual Table Of Contents Navigation Pane... 4 Management Console... 5 Company Details... 5 Company Bank Details... 6 VAT Rate... 6 Currency Setting... 7 Database Users...
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Creating Interactive PDF Forms
Creating Interactive PDF Forms Using Adobe Acrobat X Pro Information Technology Services Outreach and Distance Learning Technologies Copyright 2012 KSU Department of Information Technology Services This
Creating Custom Crystal Reports Tutorial
Creating Custom Crystal Reports Tutorial 020812 2012 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical,
A Basic introduction to Microsoft Access
A Basic introduction to Microsoft Access By Ojango J.M.K Department of Animal Sciences, Egerton University, Njoro, Kenya and International Livestock Research Institute, Nairobi, Kenya Ms Access is a database
Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5
Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5 University of Sheffield Contents 1. INTRODUCTION... 3 2. GETTING STARTED... 4 2.1 STARTING POWERPOINT... 4 3. THE USER INTERFACE...
Intro to Excel spreadsheets
Intro to Excel spreadsheets What are the objectives of this document? The objectives of document are: 1. Familiarize you with what a spreadsheet is, how it works, and what its capabilities are; 2. Using
MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.
MS Access Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed. Organize data into manageable related units Enter, modify and locate
Crystal Reports Payroll Exercise
Crystal Reports Payroll Exercise Objective This document provides step-by-step instructions on how to build a basic report on Crystal Reports XI on the MUNIS System supported by MAISD. The exercise will
MICROSOFT OFFICE ACCESS 2007 - LEVEL 1
MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - LEVEL 1 Exploring Access Creating Tables Working with Tables Editing Tables Finding and Filtering Data Printing Data Creating Relationships Using Simple
Search help. More on Office.com: images templates. Here are some basic tasks that you can do in Microsoft Excel 2010.
Page 1 of 8 Excel 2010 Home > Excel 2010 Help and How-to > Getting started with Excel Search help More on Office.com: images templates Basic tasks in Excel 2010 Here are some basic tasks that you can do
IST 195 Lab 11: MS Access
Title of lab: Microsoft Access 2010 IST 195 Lab 11: MS Access Learning goal: Databases are collections of information, and database programs are designed to maintain data in structured tables. In this
How To Create A Database For Employee Records In A Club Account In A Computer System In A Cell Phone Or Cell Phone With A Cell Computer (For A Cell)
Creating a Database Lab 1 Objectives After completing this lab, you will know how to: 1 Plan, create, and modify a database. 2 Create and save a table structure. 3 Define field names, data types, field
Access 2003 Introduction to Queries
Access 2003 Introduction to Queries COPYRIGHT Copyright 1999 by EZ-REF Courseware, Laguna Beach, CA http://www.ezref.com/ All rights reserved. This publication, including the student manual, instructor's
Introduction to. Microsoft Access 2000. Practicals
Introduction to Microsoft Access 2000 Practicals 1 Contents Practical 1..1 Introduction to Access basics. Getting help in Access. Creating databases and tables. Practical 2 13 More on creating, editing
Tutorial 3. Maintaining and Querying a Database
Tutorial 3 Maintaining and Querying a Database Microsoft Access 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save queries
Microsoft Office 2010
Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save
Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide
Decision Support AITS University Administration Web Intelligence Rich Client 4.1 User Guide 2 P age Web Intelligence 4.1 User Guide Web Intelligence 4.1 User Guide Contents Getting Started in Web Intelligence
MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE
Prepared for MIS 6326 by Dr. Sumit Sarkar 1 MICROSOFT ACCESS A database is a collection of different types of data, stored in a manner to facilitate use in diverse ways. In Microsoft Access 2000, a database
Introduction to Microsoft Access 2007
Introduction to Microsoft Access 2007 Introduction A database is a collection of information that's related. Access allows you to manage your information in one database file. Within Access there are four
Access 2010 Intermediate Skills
Access 2010 Intermediate Skills (C) 2013, BJC HealthCare (St Louis, Missouri). All Rights Reserved. Revised June 5, 2013. TABLE OF CONTENTS OBJECTIVES... 3 UNDERSTANDING RELATIONSHIPS... 4 WHAT IS A RELATIONSHIP?...
Introduction to Microsoft Access
Welcome to Teach Yourself: Introduction to Microsoft Access This Teach Yourself tutorial explains the basic operations and terminology of Microsoft Access 2003, a database management program. Microsoft
warpct.com MS Access 2010 Workbook courseware by WARP! Computer Training
warpct.com courseware by WARP! Computer Training MS Access 2010 Workbook Welcome! Thank you for evaluating a portion of this workbook. If you have any questions or comments regarding our training materials
EXCEL 2007. Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development
Information Technology MS Office Excel 2007 Users Guide EXCEL 2007 Using Excel for Data Query & Management IT Training & Development (818) 677-1700 [email protected] http://www.csun.edu/training TABLE
Microsoft Access 2010: Basics & Database Fundamentals
Microsoft Access 2010: Basics & Database Fundamentals This workshop assumes you are comfortable with a computer and have some knowledge of other Microsoft Office programs. Topics include database concepts,
