Tutorial 1 Creating a Database



Similar documents
Microsoft Office 2010

Database Applications Microsoft Access

Microsoft Access 2010 Part 1: Introduction to Access

Access Tutorial 1 Creating a Database. Microsoft Office 2013 Enhanced

ACCESS Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

Introduction to Microsoft Access 2003

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view

Access Tutorial 1 Creating a Database

Moving Data Between Access and Excel

Microsoft Office Access 2007 Basics

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

Microsoft Office Access 2007 which I refer to as Access throughout this book

Microsoft Access 2010 handout

Appendix A How to create a data-sharing lab

MICROSOFT ACCESS 2003 TUTORIAL

Microsoft Access 2010 Overview of Basics

Creating a Database in Access

Create a New Database in Access 2010

IN THIS PROJECT, YOU LEARN HOW TO

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

Microsoft Migrating to Access 2010 from Access 2003

Creating and Using Databases with Microsoft Access

Planning and Creating a Custom Database

Getting Started with Access 2007

To determine the fields in a table decide what you need to know about the subject. Here are a few tips:

Quick Start Guide. Microsoft Access 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.

How to Copy A SQL Database SQL Server Express (Making a History Company)

Lab 2: MS ACCESS Tables

Tutorial 3 Maintaining and Querying a Database

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

Microsoft Access Glossary of Terms

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

Microsoft Access 2010: Basics & Database Fundamentals

Word 2010: Mail Merge to with Attachments

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

Database Concepts (3 rd Edition) APPENDIX D Getting Started with Microsoft Access 2007

MS Access Lab 2. Topic: Tables

Quick Start Guide. Microsoft Access 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.

Using the Windows XP Backup Wizard. Introduction. Open the Backup Wizard

- Suresh Khanal. Microsoft Excel Short Questions and Answers 1

PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH:

User Services. Microsoft Access 2003 II. Use the new Microsoft

Microsoft Access Introduction

Microsoft Access 2007 Introduction

Chapter 5. Microsoft Access

Introduction to Microsoft Access XP

User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009

Access 2007 Creating Forms Table of Contents

Microsoft Access Basics

Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.

Access Database Design

Introduction to Microsoft Access 2010

Creating tables in Microsoft Access 2007

Search help. More on Office.com: images templates

Objectives. Microsoft Office 2007 Access 2007 Vista Notes. Opening a database, Tables, Querying a Database, and Reports

Introduction to Microsoft Access 2013

MICROSOFT ACCESS TABLES

A Basic introduction to Microsoft Access

Training Needs Analysis

MICROSOFT ACCESS 2007 BOOK 2

Microsoft Access 2007 Module 1

Copyright 2011 Pearson Education, Inc. Publishing as Prentice Hall. Objectives

Access NAMES Computerized Database

Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences

Steps to Create a Database

Moving the Web Security Log Database

Microsoft Access Part I (Database Design Basics) ShortCourse Handout

Introduction to Microsoft Access 2007

Understanding File Management & File Management Tutorial. Creating and Saving a WordPad Document. Saving a Document to Disk

Introduction to. Microsoft Access Practicals

Welcome! Want to find out more? Follow this tutorial, then launch Part 1 to get started.

When you publish data to a SharePoint site, you first

Converting an Excel Spreadsheet Into an Access Database

Reduced Quality Sample

The Microsoft Access 2007 Screen

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0

Utilities ComCash

MICROSOFT OFFICE ACCESS NEW FEATURES

Consider the possible problems with storing the following data in a spreadsheet:

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Table of Contents SQL Server Option

Why should I back up my certificate? How do I create a backup copy of my certificate?

Managing Mailbox Space and Personal Folders

CDOT Linking Excel Documents to MicroStation

Microsoft. Outlook ADVANCED FEATURES AND FUNCTIONS

Moving the TRITON Reporting Databases

Getting Started with Access 2007

MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.

Microsoft Office Series

Use Find & Replace Commands under Home tab to search and replace data.

MICROSOFT OFFICE ACCESS LEVEL 1

Section DB DATABASE - Microsoft Access

Transcription:

Tutorial 1 Creating a Database Introduction to Database Concepts Data is a valuable asset Need to store, maintain, retrieve,presentvital business data Entity (nib) 2 1

Organizing Data Example: issue25.accdb reference sheet Data hierarchy Byte Field Record Table Database 3 Databases and Relationships How do we connect related data that has been stored in different tables? Primary key Foreign key 4 2

Issue25 Database We ll use periodically throughout the semester Available in CIS117 Data Files\Issue25\Issue25.accdb Overview its tables Writer Article Type 5 Opening a Database Access closes any previously opened database can have only one database open in the Access User Interface can open multiple databases simultaneously via macro or VBA Access creates an.laccdb file with the same name in the same folder as the ACCDB file Access is a multiuser database when multiple users use the same db, conflicts can occur as users try to use/modify/delete the same object the LACCDB file keeps track of the users connected to the db, which objects they re using, and locking information open issue25.accdb observe the issue25.laccdb file 6 3

Relational Database Management System (RDBMS) Software used to store, maintain, retrieve and present data in structured tables We will use Accessto: create new tables define relationships between tables add and delete records change field values so they re up-to-date retrieve data to answer questions create customized forms create customized reports utilize a switchboard use database startup options 7 6 Types of Access Objects Table (Tutorials 2, 5, 9) an object that stores data in rows (records) and columns (fields) Query (Tutorials 3, 5, 9) an object that selects requested fields and records from a table can pull data from multiple tables if they have a common field Form (Tutorials 4, 6) an object used to enter, change & view data records on-screen in custom layout Report (Tutorials 4, 7) an object you can use to print records in a custom layout 8 4

6 Types of Access Objects Macro (Tutorial 10) an object containing a list of actions you want Accessto carry out Module (Tutorial 11) an object that stores Visual Basicprogramming instructions written to automate, customize, and enhance a database all these objects are stored in a single.accdb file 9 Creating a Database Created Chatham.accdb from Blank Database template Access Window Navigation Pane Shutter Bar Table Datasheet View Table Design View Create a Table in Datasheet View Easy & crude Access guesses the data type and format based on values you enter Can change using Data type & Formatting options Serious database developers prefer to work in Design View instead 10 5

Two Views of a Table Datasheet View see the table s dataas a grid rows = records columns = fields can view, insert, update, delete table records Design View (Tutorial 2) see/change the table s structure 11 Entering Records Can add records using a Form or a Table s Datasheet forms are preferred they re flexible and powerful New Record button [Tab] to move between fields Pencil symbol Record Navigation buttons Current Record Box add yourself as a new writer 12 6

Saving Save Button saves changes to an object s layout or structure also saves changes to the record s data(starting in Access 2007) Pencil symbol indicates a dirty record one whose data has changed Access automatically saves changes to the data in the current record when you: move to another record close the table/form use Home Records Save Record press [Shift]+[Enter] add a friend as another new writer 13 Copying Records from Another Access Database Source table s structure must match destination table s Copied 76 records from Appointment table in Cindi.accdb, pasted into Chatham.accdb Visit table Clipboard Copy Paste Steps to Import 1. open the source table 2. select the records to be copied 3. click Copy 4. open the destination table 5. click New Record s record selector 6. click Paste 14 7

Creating a Simple Query Query an object that selects specified fields & records from one or more tables Create tab Query Wizard Simple Query Wizard guides you: 1. select source of data (table or query) 2. select fields to display 3. select Detail or Summary 4. specify query object s name Create a query named qrybusinessarticlesthat shows the title, type, issue, length, author and phone, but only for business articles 15 Creating a Simple Form Form a customized on-screen viewof table data, commonly displaying one record at a time the most powerful and flexible way to present data to users table datasheets are plain and limited AutoForm places all fields from the table on a new form which shows one record at a time steps: 1. Select source of data (table or query) 2. Create Tab Form Create a form frmarticle that displays fields from Article table 16 8

Creating a Simple Report Report an object you use to printrecords in a custom layout AutoReport places all fields on a new report and calculates total for Number and Currency fields, page numbering steps: 1. Select source of data (table or query) 2. Create Tab Report 17 Viewing Objects in the Navigation Pane Navigation Pane displays objects in the current accdb file several display options available 18 9

Compacting a Database When you delete an object, it is not actually removed from the database Compacting creates a new.accdb and copies the non-deleted objects into the new file Requires free space on disk File Compact and Repair Microsoft highly encourages regular compaction to promote database health Compacting also physically rearranges table records in primary key sequence (nib) rebuilds indexes (nib) recompiles each query s execution plan (nib) 19 Documenting an Access Object(lib, Tut 6) Shows the structure and properties for the selected object(s) Database Tools Database Documenter use the documenter to show the details for the Writertable 20 10

Backing Up and Restoring a Database What could go wrong with a file? Extremely important to have backup copies! Do it after every session! File Save As Backup Database provides Save As dialog box defaults to placing the copy in the same folder as original.accdb and with current date appended to the filename In previous versions, you would close the database, then use Windows Explorer to copy the file to make a backup I still prefer this method! 21 Backing Up a Database with Windows Explorer Premise: you ll work with an.accdbfile in your CIS117 Data Files folder (either C: or H:), then back it up by copying it to your USB flash drive steps: 1) exit Access 2) launch Windows Explorer 3) select the modified.accdbfile(c: or H:) 4) copy it 4) paste it into same-named folder on your USB flash drive 5) look on USB flash drive to verify it is there use the steps above to backup your issue25.accdb to your USB flash drive 22 11

Exiting Access It is extremely important that you exit Access properly Access will automatically delete the.laccdb file when the last user exits the database If you don t exit Access you may corrupt the.accdb file and/or other files! Safely Remove your USB flash drive! 23 12