CSC 240 (Blum)1 Forms and Importing Data in Access.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Chapter 5 Multitable Forms
Chapter 1 Databases and Database Objects: An Introduction
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access Tutorial 1 Creating a Database
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Overview Importing text files Creating Forms Creating Reports.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Mary K. Olson PS Reporting Instance – Query Tool 101.
Microsoft Excel 2007 Introduction to Spreadsheet Programs
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
1 Access Lesson 1 Microsoft Access Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 2 Querying a Database
Advanced Forms Lesson 10.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
1 Access Lesson 1 Microsoft Access Basics Microsoft Office 2010 Introductory.
Learning Microsoft Power Point Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft.
Chapter 1 Databases and Database Objects: An Introduction
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
Creating a Web Site to Gather Data and Conduct Research.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Key Applications Module Lesson 21 — Access Essentials
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Microsoft Access 2007 Tutorial (Part II) CIS*1000*DE.
1 What to do before class starts??? Download the sample database from the k: drive to the u: drive or to your flash drive. The database is named “FormBelmont.accdb”
CSC 240 (Blum)1 Introduction to Data Entry, Queries and Reports.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Unit 5, Lesson 2 Editing Records and Using Forms.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Planning & Creating a Database By Ms. Naira Microsoft Access.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 1 Creating a Database
Word Tutorial 6 Using Mail Merge
Incorporating Databases with ADO.NET
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms
Incorporating Databases with ADO.NET
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Tutorial 1 Creating a Database
Chapter 9 Lesson 2 Notes.
Excel: Excel Basics Participation Project
Chapter 1 Databases and Database Objects: An Introduction
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Access Lesson 1 Microsoft Access Basics
Presentation transcript:

CSC 240 (Blum)1 Forms and Importing Data in Access

CSC 240 (Blum)2 Highlight the Customer Table, click on the Create tab and then on the Form icon.

CSC 240 (Blum)3 Customer form generated.

CSC 240 (Blum)4 A customer’s data is shown in the main part of the form and that customer’s orders are shown in the “subform” subform

CSC 240 (Blum)5 One can use the form’s navigation arrows (not to be confused with the subform’s navigation arrows) to move through the customer records. –  Back one record –  Forward one record –|  Back to first record –  | Forward to last record –  * New record One can also use the form to enter data a new customer record or the subform to enter a new order record. subform form

CSC 240 (Blum)6 Use the subform to place another order for Jane Doe.

CSC 240 (Blum)7 Close the form, you should be prompted to save it.

CSC 240 (Blum)8 Open up the Order table and note that the new record appears there.

Use the drop-down list on the left-hand side to choose Forms CSC 240 (Blum)9

10 Use the Customer Form to add another customer.

CSC 240 (Blum)11 Close the form and open the Customer table to verify that the new customer was added.

CSC 240 (Blum)12 Return to the Customer form and go over to Design View.

CSC 240 (Blum)13 Right click in the open form area, choose Fill/Back Color from the menu, then select a color from the palette.

CSC 240 (Blum)14 Place the cursor near the right edge of the form, it should become a double headed arrow. Drag the arrow to increase the size of the form.

CSC 240 (Blum)15 Clicking on it a second time allows one to change the text, make it say First Name.

CSC 240 (Blum)16 Click on something else and then click on the label-textbox combination. You can get double-headed arrows on either side of the label or textbox use them the adjust the sizes. They all moved together.

CSC 240 (Blum)17 Right click on the label and choose Properties.

CSC 240 (Blum)18 See the Property Sheet on the right.

CSC 240 (Blum)19 Rearrange the other labels and textboxes to make a more presentable form. (I could move things after I cut and paste them.)

CSC 240 (Blum)20 Look at the form in Form View

CSC 240 (Blum)21 One may need to return to design view to make adjustments for instance shrinking the state textbox.

CSC 240 (Blum)22 Adjustments to the size of the columns in the subform can be made in Form View. Place the cursor between two columns, when it becomes a double-headed arrow, drag to adjust the column size. Changing the subform is really changing the Order table.

CSC 240 (Blum)23 Go to the US House of Representatives site and download (right click/Save target as) the Excel Spreadsheet list of members.

CSC 240 (Blum)24 Open the file with Microsoft Excel.

Next go to the Telephone Directory CSC 240 (Blum)25

Highlight and copy the data. Since we will paste into Excel (Microsoft) it is best to use Internet Explorer (also Microsoft) CSC 240 (Blum)26

Paste it into Excel – make sure the names line up. CSC 240 (Blum)27

Delete the column with the duplicate name information. Save. CSC 240 (Blum)28

CSC 240 (Blum)29 Start a new database. Go to the External Data Tab and click on Excel

CSC 240 (Blum)30 Select the file and click Open.

Choose the Import option. CSC 240 (Blum)31

CSC 240 (Blum)32 Check the box indicating that the first row contains the field names as opposed to just containing other data.

Chose “Do not import” for the Prefix field CSC 240 (Blum)33

Rename the field names – spaces in field names are trouble CSC 240 (Blum)34

Decide what to do about primary key CSC 240 (Blum)35

CSC 240 (Blum)36 Indicate that the data will go into a new table. Choose to have the Wizard analyze your data

Wizard CSC 240 (Blum)37

Wizard 2 CSC 240 (Blum)38

Wizard 3 CSC 240 (Blum)39

Result from Wizard CSC 240 (Blum)40

I dragged RepFirstName back to Table2 and then RepState (DC) and RepCity (Wash.) to Table3 CSC 240 (Blum)41

Highlight a table and click on the rename table button and rename the tables. CSC 240 (Blum)42

More wizard CSC 240 (Blum)43

Even more Wizard CSC 240 (Blum)44

Allow it to create query that recreates original input CSC 240 (Blum)45

CSC 240 (Blum)46 Examine the tables and query in DataSheet view.

CSC 240 (Blum)47 Make a parameterized query that lists the members from a state entered by the user.

CSC 240 (Blum)48 Create the query below that list the states and the number (count) of representatives. The Total row is obtained by clicking on the  button.

CSC 240 (Blum)49 Results of the counting query.

CSC 240 (Blum)50 SQL View of the counting query.

CSC 240 (Blum)51 We can give the column a different name by editing the SQL statement.

CSC 240 (Blum)52 Save and run. Results with renamed column.

CSC 240 (Blum)53 Start a new query and go to SQL view. Enter the text seen below.

CSC 240 (Blum)54 We now have “firstname lastname” as a single field in the query results.