SlideShare a Scribd company logo
1 of 50
Factory Access Accel. Introduction v1.021
Accelerated Introduction to Access
ModuleModule
Introduction to Access, Tables, and
External Data
P.O. Box 6142
Laguna Niguel, CA 92607
949-489-1472
http://www.d2associates.com
slides.1@dhdursoassociates.com
FactoryAccess Accel. Introduction v1.022
Module Outline
 Part 1: Introduction & Tables
 Part 2: External Data
 Part 3: Relating Tables
Three parts:Three parts:
FactoryAccess Accel. Introduction v1.023
Module Hands On
– Create working folder with supplied files
– Create a database
– Create 3 tables (w/validation rules and masks)
– Populate tables
– Import and Export Tables
– Create permanent links
– Create a simple query
– Compute calculated field(s)
– Create a multi-table query with summary aggregates
Students “hands-on”:
Factory Access Accel. Introduction v1.024
Accelerated Introduction to Access
Part 1:Part 1:
Introduction to Access and Tables
FactoryAccess Accel. Introduction v1.025
But first - Create Folder
 Create a folder yourname (or similar) in
My Documents – this is where your
database and other files will go.
 Optionally, copy in the labor.txt and
employees.xls files from the instructor
supplied location or CD.
FactoryAccess Accel. Introduction v1.026
Access Modes
 Menu-driven interface - Interact with a database
and its objects using menu commands
 Program mode - Lets you store instructions in a VBA
program file
 This course concentrates on the menu interface but
does cover macros which can be used to “program” a
series of actions
FactoryAccess Accel. Introduction v1.027
Database Terminology
 Database – in Access a repository in which tables,
reports, queries, and other objects are stored
 Table – stores facts about one subject (entity)
 Record - contains related information about an
entity “instance”
 Field - contains a fact about an entity
 Relational Database - allows you to link records from
two or more tables based on the contents of a
common field. Access is a relational database.
FactoryAccess Accel. Introduction v1.028
Database Terminology (cont.)
 Key - used to order, identify, and retrieve records
in the database
 Primary key - unique identifier for a particular
record. Only one per table.
 Index – like a book index. Speeds searches and
joins. Can have many per table.
 Table structure - the arrangement of information
within a record, the type of characters, field
length, limitations, etc.
FactoryAccess Accel. Introduction v1.029
Database Terminology (cont.)
 Object – used in database world as generic term for
queries, reports, indexes, tables, etc. Not the same
as programming object.
 Form - paper-like method of accessing and entering
data in a table
 Query – retrieves information from Access tables
 Report - provides the ability to arrange table data
as well as to perform calculations and then print a
paper-based report
FactoryAccess Accel. Introduction v1.0210
Sample Application – Factory2000
 Simple cost accounting
application
 Employees work on work
orders
 Clock labor hours for each
work order
FactoryAccess Accel. Introduction v1.0211
Recording Factory2000 Labor Hours
EmpNo fName lName Rate Wono Descr Hours
12 Bob Smith 15 A1 Casting 12
13 Mary Chavez 20 A1 Casting 22
14 Alicia Parks 25 B3 Ass’ly 15
14 Alicia Parks 25 C2 Screws 18
What problems do you see with this approach?
FactoryAccess Accel. Introduction v1.0212
Factory2000 Relational Database Structure
EmpNo fName lName Rate MgrNo
12 Bob Smith 15 13
13 Mary Chavez 20
14 Alicia Parks 25 12
EmpNo Wono Start End Hours
12 A1 1/1/01 1/31/01 20
14 C2 2/1/01 2/28/01 42
14 B3 1/1/01 2/28/01 40
employeesemployees
LaborLabor
Wono Descr Std
A1 Casting 30
B3 Fitting 50
C2 Screws 70
Work_ordersWork_orders
FactoryAccess Accel. Introduction v1.0213
Creating a Database
 Ways to create a database
– Create a database using an Access
template or Wizard – (not always
recommended)
– Create a blank database and then insert
your own objects – we will use this
method in this course
FactoryAccess Accel. Introduction v1.0214
Creating an Access 2000 Database
Create the
database in
your desktop
folder with a
meaningful
name
FactoryAccess Accel. Introduction v1.0215
Creating a Table
 Click new from tables tab
 Naming a Table
– Up to 64 “standard” characters can be used
– Do not use an extension
– No leading spaces or control characters, in fact
try to avoid spaces altogether
 Add fields one by one
 Set Field Properties in Field Properties
box
FactoryAccess Accel. Introduction v1.0216
Designing Fields
 Field Type – text, datetime, number, etc.
 Field Width – 10 characters, etc.
 Caption – “Column title” for display
 Format – Determines how the field is displayed
(long date, short date, etc.)
 Click toolbar key symbol to make primary key
 Set indexed for secondary keys, required, etc.
FactoryAccess Accel. Introduction v1.0217
Setting Properties in the Table Designer
FactoryAccess Accel. Introduction v1.0218
Hands On - Create Tables
 Employees
 Work_Orders
 Labor
FactoryAccess Accel. Introduction v1.0219
Employees Table Definition
 EmpNo text(2), primary key
 Fname text(10)
 Lname text (15), required
 Rate currency, required
 MgrNo text(2)
(Instructor led)
All with captionsSave as tblEmployees
FactoryAccess Accel. Introduction v1.0220
Work_Orders Table Definition
 WoNo text(2), primary key
 Descr text(15)
 StdHrs number(single,2), required
 Accum number(single,2), required
(On your own)
Add captions, tooSave as tblWork_orders
FactoryAccess Accel. Introduction v1.0221
Labor Table Definition
 EmpNo text(2), primary key
 WoNo text(2), primary key
 Start datetime, required
 End datetime
 Hours number(single,2)
(On your own)
Add captions, tooSave as tblLabor
FactoryAccess Accel. Introduction v1.0222
Field Validation & Masks
 Add some validations
– Test a numeric field for > 0
– Try checking one field against another
– Etc.
 Add captions if not added already
 Add an input mask
 Change a display format
 Etc.
FactoryAccess Accel. Introduction v1.0223
Datasheets
 Datasheet window - displays the contents of a table
in a spreadsheet-like format
– Each row contains a record
– Each column contains a field
 Speedbar - appears at the bottom of the window
and is used to navigate through the records in a
table
FactoryAccess Accel. Introduction v1.0224
Datasheet View
FactoryAccess Accel. Introduction v1.0225
Entering & Editing Records
 Enter table data from the
handouts or use your own
data
FactoryAccess Accel. Introduction v1.0226
Employees Table Data
FactoryAccess Accel. Introduction v1.0227
Work_Orders Table Data
FactoryAccess Accel. Introduction v1.0228
Labor Table Data
[To be imported later]
FactoryAccess Accel. Introduction v1.0229
Printing a Table
 Access allows you to create “quick and dirty”
reports by clicking the toolbar Print button
– A row/column presentation is used
– Field names appear along the top
– Records are rows
– Fields are columns
– A grid is printed around each field
FactoryAccess Accel. Introduction v1.0230
Quick Reports
 Report Wizard
– Module 2 covers reports
– For now, be aware a quick report can be
produced using the report wizard
Factory Access Accel. Introduction v1.0231
Microsoft Access
Part 2Part 2
External Data
FactoryAccess Accel. Introduction v1.0232
Office Links
 Publish it with MS Word
 Analyze in MS Excel
 Use Tools | Office Links or the
Toolbar
FactoryAccess Accel. Introduction v1.0233
Exporting a table
 Very simple
 Click File|Export (or save as)
 Specify type: Access can
export to many types: Excel,
Text, etc.
FactoryAccess Accel. Introduction v1.0234
Exporting tables
 Export Work_Orders to CSV
text file.
 Note you can also export to
another Access table. Even
one elsewhere on a LAN!
FactoryAccess Accel. Introduction v1.0235
Using External Data
 Two methods:
– Import the data into a new (or existing table) in your
database
– Link to the data. A table link appears in your
database but the data stays in the original file.
FactoryAccess Accel. Introduction v1.0236
Importing Files
 Another very important feature
 Start from new table dialog, pick
Import Table
 It will start a wizard
 Use advanced to select fields, etc.
 Specifications can be saved for later
use
FactoryAccess Accel. Introduction v1.0237
Importing a table from a Text File
Importing a Text File
FactoryAccess Accel. Introduction v1.0238
Importing from a text file
 Import the instructor-supplied
labor text file into the previously
created labor table
 Save the specification
FactoryAccess Accel. Introduction v1.0239
Linking a table
 Use new table dialog
 Select Link Table
 This will set up a connection to an
external table. It does not become
part of the Access database
 Access can link to many types: Excel,
ODBC connection, etc.
FactoryAccess Accel. Introduction v1.0240
Linking a table
Linking a Table
FactoryAccess Accel. Introduction v1.0241
Link a table
 Link the instructor-
supplied Employees
Excel
 Give it a name like
Employees_xls
Factory Access Accel. Introduction v1.0242
Microsoft Access
Part 3Part 3
Relating Tables
FactoryAccess Accel. Introduction v1.0243
Relating Tables
 Command sequence – Tools | Relationships
 Parent table - table used as the main table
for a relationship
 Child table - the related table, often has
several records for each record in the
parent table
FactoryAccess Accel. Introduction v1.0244
Referential Integrity
 Orphan record - a child record without a
corresponding parent record
 Referential integrity - makes certain that
related records are present
FactoryAccess Accel. Introduction v1.0245
Table Links
 In this context means relate two or more
tables on columns of data
 Permanent link –
– established using the Relationships command
– is always in effect once defined
 Transient link - defined using the query-by-
example feature of Access
FactoryAccess Accel. Introduction v1.0246
Creating a Permanent LinkCreating a Permanent Link
Drag from
PK to FK
FactoryAccess Accel. Introduction v1.0247
Create Permanent Links
Link all Factory2000 tables
Enforce referential integrity
Normal, default joins for now
FactoryAccess Accel. Introduction v1.0248
Permanent Links
FactoryAccess Accel. Introduction v1.0249
Import Labor Table
 Now import the instructor
supplied labor.txt file into
your labor table
 Try changing an EmpNo or
WoNO to an invalid value
and see what happens
Factory Access Accel. Introduction v1.0250
Accelerated Introduction to Access
End of Module
P.O. Box 6142
Laguna Niguel, CA 92607
949-489-1472
http://www.d2associates.com
slides.1@dhdursoassociates.com

More Related Content

Viewers also liked

The Gap Between Online Journalism Education and Practice
The Gap Between Online Journalism Education and PracticeThe Gap Between Online Journalism Education and Practice
The Gap Between Online Journalism Education and PracticeRyan Thornburg
 
SQL201W MySQL SQL Manual
SQL201W MySQL SQL ManualSQL201W MySQL SQL Manual
SQL201W MySQL SQL ManualDan D'Urso
 
El nazisme viscut des del bàndol alemany (clotet, conangla)
El nazisme viscut des del bàndol alemany (clotet, conangla)El nazisme viscut des del bàndol alemany (clotet, conangla)
El nazisme viscut des del bàndol alemany (clotet, conangla)JAVIER ALSINA GONZALEZ
 
GovProjects.org
GovProjects.orgGovProjects.org
GovProjects.orgF R
 
SQL302 Intermediate SQL Workshop 2
SQL302 Intermediate SQL Workshop 2SQL302 Intermediate SQL Workshop 2
SQL302 Intermediate SQL Workshop 2Dan D'Urso
 
青年創業及圓夢網 創業稅務大小事【創業懶人包 】
青年創業及圓夢網 創業稅務大小事【創業懶人包 】青年創業及圓夢網 創業稅務大小事【創業懶人包 】
青年創業及圓夢網 創業稅務大小事【創業懶人包 】RICK Lin
 
Ikregeer Overheid20
Ikregeer   Overheid20Ikregeer   Overheid20
Ikregeer Overheid20BZK
 
SQL302 Intermediate SQL Workshop 3
SQL302 Intermediate SQL Workshop 3SQL302 Intermediate SQL Workshop 3
SQL302 Intermediate SQL Workshop 3Dan D'Urso
 
SM-Plus Big Picture
SM-Plus Big PictureSM-Plus Big Picture
SM-Plus Big PictureCory Rhodes
 
Preparing Students
Preparing StudentsPreparing Students
Preparing StudentsKatie Turner
 
AVB202 Intermediate Microsoft Access VBA
AVB202 Intermediate Microsoft Access VBAAVB202 Intermediate Microsoft Access VBA
AVB202 Intermediate Microsoft Access VBADan D'Urso
 
AVB201.1 MS Access VBA Module 1
AVB201.1 MS Access VBA Module 1AVB201.1 MS Access VBA Module 1
AVB201.1 MS Access VBA Module 1guest38bf
 
SQL302 Intermediate SQL Workshop 1
SQL302 Intermediate SQL Workshop 1SQL302 Intermediate SQL Workshop 1
SQL302 Intermediate SQL Workshop 1Dan D'Urso
 
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網RICK Lin
 
SQL212 Oracle SQL Manual
SQL212 Oracle SQL ManualSQL212 Oracle SQL Manual
SQL212 Oracle SQL ManualDan D'Urso
 
AIN102S Access string function sample queries
AIN102S Access string function sample queriesAIN102S Access string function sample queries
AIN102S Access string function sample queriesDan D'Urso
 
Pharma Powerpoint 2
Pharma Powerpoint 2Pharma Powerpoint 2
Pharma Powerpoint 2guest4a9aba
 

Viewers also liked (20)

The Gap Between Online Journalism Education and Practice
The Gap Between Online Journalism Education and PracticeThe Gap Between Online Journalism Education and Practice
The Gap Between Online Journalism Education and Practice
 
SQL201W MySQL SQL Manual
SQL201W MySQL SQL ManualSQL201W MySQL SQL Manual
SQL201W MySQL SQL Manual
 
El nazisme viscut des del bàndol alemany (clotet, conangla)
El nazisme viscut des del bàndol alemany (clotet, conangla)El nazisme viscut des del bàndol alemany (clotet, conangla)
El nazisme viscut des del bàndol alemany (clotet, conangla)
 
GovProjects.org
GovProjects.orgGovProjects.org
GovProjects.org
 
SQL302 Intermediate SQL Workshop 2
SQL302 Intermediate SQL Workshop 2SQL302 Intermediate SQL Workshop 2
SQL302 Intermediate SQL Workshop 2
 
Widget SOA
Widget SOAWidget SOA
Widget SOA
 
青年創業及圓夢網 創業稅務大小事【創業懶人包 】
青年創業及圓夢網 創業稅務大小事【創業懶人包 】青年創業及圓夢網 創業稅務大小事【創業懶人包 】
青年創業及圓夢網 創業稅務大小事【創業懶人包 】
 
Ikregeer Overheid20
Ikregeer   Overheid20Ikregeer   Overheid20
Ikregeer Overheid20
 
SQL302 Intermediate SQL Workshop 3
SQL302 Intermediate SQL Workshop 3SQL302 Intermediate SQL Workshop 3
SQL302 Intermediate SQL Workshop 3
 
SM-Plus Big Picture
SM-Plus Big PictureSM-Plus Big Picture
SM-Plus Big Picture
 
Preparing Students
Preparing StudentsPreparing Students
Preparing Students
 
AVB202 Intermediate Microsoft Access VBA
AVB202 Intermediate Microsoft Access VBAAVB202 Intermediate Microsoft Access VBA
AVB202 Intermediate Microsoft Access VBA
 
AVB201.1 MS Access VBA Module 1
AVB201.1 MS Access VBA Module 1AVB201.1 MS Access VBA Module 1
AVB201.1 MS Access VBA Module 1
 
SQL302 Intermediate SQL Workshop 1
SQL302 Intermediate SQL Workshop 1SQL302 Intermediate SQL Workshop 1
SQL302 Intermediate SQL Workshop 1
 
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網
鑄造產業轉型升級與發展-創業懶人包-青年創業及圓夢網
 
SQL212 Oracle SQL Manual
SQL212 Oracle SQL ManualSQL212 Oracle SQL Manual
SQL212 Oracle SQL Manual
 
K.l. reich
K.l. reichK.l. reich
K.l. reich
 
Farrah bostic 5for5
Farrah bostic 5for5Farrah bostic 5for5
Farrah bostic 5for5
 
AIN102S Access string function sample queries
AIN102S Access string function sample queriesAIN102S Access string function sample queries
AIN102S Access string function sample queries
 
Pharma Powerpoint 2
Pharma Powerpoint 2Pharma Powerpoint 2
Pharma Powerpoint 2
 

Similar to AIA101.1.MS Access Tables & Data

Access tips access and sql part 3 practical examples
Access tips  access and sql part 3  practical examplesAccess tips  access and sql part 3  practical examples
Access tips access and sql part 3 practical examplesquest2900
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005rainynovember12
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIEzekielJames8
 
It203 class slides-unit5
It203 class slides-unit5It203 class slides-unit5
It203 class slides-unit5Matthew Moldvan
 
How to create Excel dashboards easily
How to create Excel dashboards easilyHow to create Excel dashboards easily
How to create Excel dashboards easilyMockup Wireframe
 
Oracle application express
Oracle application expressOracle application express
Oracle application expressAbhinaw Kumar
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express pptAbhinaw Kumar
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxVinaOconner450
 
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3Dan D'Urso
 
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxBUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxhumphrieskalyn
 
4 Ways to Merge IBM i Data with Microsoft Excel
4 Ways to Merge IBM i Data with Microsoft Excel4 Ways to Merge IBM i Data with Microsoft Excel
4 Ways to Merge IBM i Data with Microsoft ExcelHelpSystems
 
Sql Injection and Entity Frameworks
Sql Injection and Entity FrameworksSql Injection and Entity Frameworks
Sql Injection and Entity FrameworksRich Helton
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL IISankhya_Analytics
 
AIN106 Access Reporting and Analysis
AIN106 Access Reporting and AnalysisAIN106 Access Reporting and Analysis
AIN106 Access Reporting and AnalysisDan D'Urso
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studioAravindharamanan S
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studioAravindharamanan S
 
Sas visual analytics Training
Sas visual analytics Training Sas visual analytics Training
Sas visual analytics Training bidwhm
 
Automation Of Reporting And Alerting
Automation Of Reporting And AlertingAutomation Of Reporting And Alerting
Automation Of Reporting And AlertingSean Durocher
 

Similar to AIA101.1.MS Access Tables & Data (20)

Access tips access and sql part 3 practical examples
Access tips  access and sql part 3  practical examplesAccess tips  access and sql part 3  practical examples
Access tips access and sql part 3 practical examples
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
 
It203 class slides-unit5
It203 class slides-unit5It203 class slides-unit5
It203 class slides-unit5
 
Db2 tutorial
Db2 tutorialDb2 tutorial
Db2 tutorial
 
How to create Excel dashboards easily
How to create Excel dashboards easilyHow to create Excel dashboards easily
How to create Excel dashboards easily
 
Oracle application express
Oracle application expressOracle application express
Oracle application express
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
 
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3
 
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxBUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
 
4 Ways to Merge IBM i Data with Microsoft Excel
4 Ways to Merge IBM i Data with Microsoft Excel4 Ways to Merge IBM i Data with Microsoft Excel
4 Ways to Merge IBM i Data with Microsoft Excel
 
Sql Injection and Entity Frameworks
Sql Injection and Entity FrameworksSql Injection and Entity Frameworks
Sql Injection and Entity Frameworks
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL II
 
AIN106 Access Reporting and Analysis
AIN106 Access Reporting and AnalysisAIN106 Access Reporting and Analysis
AIN106 Access Reporting and Analysis
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
001.general
001.general001.general
001.general
 
Sas visual analytics Training
Sas visual analytics Training Sas visual analytics Training
Sas visual analytics Training
 
Automation Of Reporting And Alerting
Automation Of Reporting And AlertingAutomation Of Reporting And Alerting
Automation Of Reporting And Alerting
 

More from Dan D'Urso

SQL201S Accelerated Introduction to MySQL Queries
SQL201S Accelerated Introduction to MySQL QueriesSQL201S Accelerated Introduction to MySQL Queries
SQL201S Accelerated Introduction to MySQL QueriesDan D'Urso
 
LCD201d Database Diagramming with Lucidchart
LCD201d Database Diagramming with LucidchartLCD201d Database Diagramming with Lucidchart
LCD201d Database Diagramming with LucidchartDan D'Urso
 
Database Normalization
Database NormalizationDatabase Normalization
Database NormalizationDan D'Urso
 
VIS201d Visio Database Diagramming
VIS201d Visio Database DiagrammingVIS201d Visio Database Diagramming
VIS201d Visio Database DiagrammingDan D'Urso
 
PRJ101a Project 2013 Accelerated
PRJ101a Project 2013 AcceleratedPRJ101a Project 2013 Accelerated
PRJ101a Project 2013 AcceleratedDan D'Urso
 
PRJ101xl Project Libre Basic Training
PRJ101xl Project Libre Basic TrainingPRJ101xl Project Libre Basic Training
PRJ101xl Project Libre Basic TrainingDan D'Urso
 
Introduction to coding using Python
Introduction to coding using PythonIntroduction to coding using Python
Introduction to coding using PythonDan D'Urso
 
Stem conference
Stem conferenceStem conference
Stem conferenceDan D'Urso
 
SQL200A Microsoft Access SQL Design
SQL200A Microsoft Access SQL DesignSQL200A Microsoft Access SQL Design
SQL200A Microsoft Access SQL DesignDan D'Urso
 
Microsoft access self joins
Microsoft access self joinsMicrosoft access self joins
Microsoft access self joinsDan D'Urso
 
SQL302 Intermediate SQL
SQL302 Intermediate SQLSQL302 Intermediate SQL
SQL302 Intermediate SQLDan D'Urso
 
Course Catalog
Course CatalogCourse Catalog
Course CatalogDan D'Urso
 
SQL206 SQL Median
SQL206 SQL MedianSQL206 SQL Median
SQL206 SQL MedianDan D'Urso
 
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2Dan D'Urso
 
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1Dan D'Urso
 
SQL202 SQL Server SQL Manual
SQL202 SQL Server SQL ManualSQL202 SQL Server SQL Manual
SQL202 SQL Server SQL ManualDan D'Urso
 
AIN102 Microsoft Access Queries
AIN102 Microsoft Access QueriesAIN102 Microsoft Access Queries
AIN102 Microsoft Access QueriesDan D'Urso
 
AIN102.2 Microsoft Access Queries
AIN102.2 Microsoft Access QueriesAIN102.2 Microsoft Access Queries
AIN102.2 Microsoft Access QueriesDan D'Urso
 
AIN102.1 Microsoft Access Queries Module 1
AIN102.1 Microsoft Access Queries Module 1AIN102.1 Microsoft Access Queries Module 1
AIN102.1 Microsoft Access Queries Module 1Dan D'Urso
 

More from Dan D'Urso (20)

SQL201S Accelerated Introduction to MySQL Queries
SQL201S Accelerated Introduction to MySQL QueriesSQL201S Accelerated Introduction to MySQL Queries
SQL201S Accelerated Introduction to MySQL Queries
 
LCD201d Database Diagramming with Lucidchart
LCD201d Database Diagramming with LucidchartLCD201d Database Diagramming with Lucidchart
LCD201d Database Diagramming with Lucidchart
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
VIS201d Visio Database Diagramming
VIS201d Visio Database DiagrammingVIS201d Visio Database Diagramming
VIS201d Visio Database Diagramming
 
PRJ101a Project 2013 Accelerated
PRJ101a Project 2013 AcceleratedPRJ101a Project 2013 Accelerated
PRJ101a Project 2013 Accelerated
 
PRJ101xl Project Libre Basic Training
PRJ101xl Project Libre Basic TrainingPRJ101xl Project Libre Basic Training
PRJ101xl Project Libre Basic Training
 
Introduction to coding using Python
Introduction to coding using PythonIntroduction to coding using Python
Introduction to coding using Python
 
Stem conference
Stem conferenceStem conference
Stem conference
 
SQL200A Microsoft Access SQL Design
SQL200A Microsoft Access SQL DesignSQL200A Microsoft Access SQL Design
SQL200A Microsoft Access SQL Design
 
Microsoft access self joins
Microsoft access self joinsMicrosoft access self joins
Microsoft access self joins
 
SQL302 Intermediate SQL
SQL302 Intermediate SQLSQL302 Intermediate SQL
SQL302 Intermediate SQL
 
Course Catalog
Course CatalogCourse Catalog
Course Catalog
 
AIN100
AIN100AIN100
AIN100
 
SQL206 SQL Median
SQL206 SQL MedianSQL206 SQL Median
SQL206 SQL Median
 
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
 
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1
 
SQL202 SQL Server SQL Manual
SQL202 SQL Server SQL ManualSQL202 SQL Server SQL Manual
SQL202 SQL Server SQL Manual
 
AIN102 Microsoft Access Queries
AIN102 Microsoft Access QueriesAIN102 Microsoft Access Queries
AIN102 Microsoft Access Queries
 
AIN102.2 Microsoft Access Queries
AIN102.2 Microsoft Access QueriesAIN102.2 Microsoft Access Queries
AIN102.2 Microsoft Access Queries
 
AIN102.1 Microsoft Access Queries Module 1
AIN102.1 Microsoft Access Queries Module 1AIN102.1 Microsoft Access Queries Module 1
AIN102.1 Microsoft Access Queries Module 1
 

Recently uploaded

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

AIA101.1.MS Access Tables & Data

  • 1. Factory Access Accel. Introduction v1.021 Accelerated Introduction to Access ModuleModule Introduction to Access, Tables, and External Data P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com slides.1@dhdursoassociates.com
  • 2. FactoryAccess Accel. Introduction v1.022 Module Outline  Part 1: Introduction & Tables  Part 2: External Data  Part 3: Relating Tables Three parts:Three parts:
  • 3. FactoryAccess Accel. Introduction v1.023 Module Hands On – Create working folder with supplied files – Create a database – Create 3 tables (w/validation rules and masks) – Populate tables – Import and Export Tables – Create permanent links – Create a simple query – Compute calculated field(s) – Create a multi-table query with summary aggregates Students “hands-on”:
  • 4. Factory Access Accel. Introduction v1.024 Accelerated Introduction to Access Part 1:Part 1: Introduction to Access and Tables
  • 5. FactoryAccess Accel. Introduction v1.025 But first - Create Folder  Create a folder yourname (or similar) in My Documents – this is where your database and other files will go.  Optionally, copy in the labor.txt and employees.xls files from the instructor supplied location or CD.
  • 6. FactoryAccess Accel. Introduction v1.026 Access Modes  Menu-driven interface - Interact with a database and its objects using menu commands  Program mode - Lets you store instructions in a VBA program file  This course concentrates on the menu interface but does cover macros which can be used to “program” a series of actions
  • 7. FactoryAccess Accel. Introduction v1.027 Database Terminology  Database – in Access a repository in which tables, reports, queries, and other objects are stored  Table – stores facts about one subject (entity)  Record - contains related information about an entity “instance”  Field - contains a fact about an entity  Relational Database - allows you to link records from two or more tables based on the contents of a common field. Access is a relational database.
  • 8. FactoryAccess Accel. Introduction v1.028 Database Terminology (cont.)  Key - used to order, identify, and retrieve records in the database  Primary key - unique identifier for a particular record. Only one per table.  Index – like a book index. Speeds searches and joins. Can have many per table.  Table structure - the arrangement of information within a record, the type of characters, field length, limitations, etc.
  • 9. FactoryAccess Accel. Introduction v1.029 Database Terminology (cont.)  Object – used in database world as generic term for queries, reports, indexes, tables, etc. Not the same as programming object.  Form - paper-like method of accessing and entering data in a table  Query – retrieves information from Access tables  Report - provides the ability to arrange table data as well as to perform calculations and then print a paper-based report
  • 10. FactoryAccess Accel. Introduction v1.0210 Sample Application – Factory2000  Simple cost accounting application  Employees work on work orders  Clock labor hours for each work order
  • 11. FactoryAccess Accel. Introduction v1.0211 Recording Factory2000 Labor Hours EmpNo fName lName Rate Wono Descr Hours 12 Bob Smith 15 A1 Casting 12 13 Mary Chavez 20 A1 Casting 22 14 Alicia Parks 25 B3 Ass’ly 15 14 Alicia Parks 25 C2 Screws 18 What problems do you see with this approach?
  • 12. FactoryAccess Accel. Introduction v1.0212 Factory2000 Relational Database Structure EmpNo fName lName Rate MgrNo 12 Bob Smith 15 13 13 Mary Chavez 20 14 Alicia Parks 25 12 EmpNo Wono Start End Hours 12 A1 1/1/01 1/31/01 20 14 C2 2/1/01 2/28/01 42 14 B3 1/1/01 2/28/01 40 employeesemployees LaborLabor Wono Descr Std A1 Casting 30 B3 Fitting 50 C2 Screws 70 Work_ordersWork_orders
  • 13. FactoryAccess Accel. Introduction v1.0213 Creating a Database  Ways to create a database – Create a database using an Access template or Wizard – (not always recommended) – Create a blank database and then insert your own objects – we will use this method in this course
  • 14. FactoryAccess Accel. Introduction v1.0214 Creating an Access 2000 Database Create the database in your desktop folder with a meaningful name
  • 15. FactoryAccess Accel. Introduction v1.0215 Creating a Table  Click new from tables tab  Naming a Table – Up to 64 “standard” characters can be used – Do not use an extension – No leading spaces or control characters, in fact try to avoid spaces altogether  Add fields one by one  Set Field Properties in Field Properties box
  • 16. FactoryAccess Accel. Introduction v1.0216 Designing Fields  Field Type – text, datetime, number, etc.  Field Width – 10 characters, etc.  Caption – “Column title” for display  Format – Determines how the field is displayed (long date, short date, etc.)  Click toolbar key symbol to make primary key  Set indexed for secondary keys, required, etc.
  • 17. FactoryAccess Accel. Introduction v1.0217 Setting Properties in the Table Designer
  • 18. FactoryAccess Accel. Introduction v1.0218 Hands On - Create Tables  Employees  Work_Orders  Labor
  • 19. FactoryAccess Accel. Introduction v1.0219 Employees Table Definition  EmpNo text(2), primary key  Fname text(10)  Lname text (15), required  Rate currency, required  MgrNo text(2) (Instructor led) All with captionsSave as tblEmployees
  • 20. FactoryAccess Accel. Introduction v1.0220 Work_Orders Table Definition  WoNo text(2), primary key  Descr text(15)  StdHrs number(single,2), required  Accum number(single,2), required (On your own) Add captions, tooSave as tblWork_orders
  • 21. FactoryAccess Accel. Introduction v1.0221 Labor Table Definition  EmpNo text(2), primary key  WoNo text(2), primary key  Start datetime, required  End datetime  Hours number(single,2) (On your own) Add captions, tooSave as tblLabor
  • 22. FactoryAccess Accel. Introduction v1.0222 Field Validation & Masks  Add some validations – Test a numeric field for > 0 – Try checking one field against another – Etc.  Add captions if not added already  Add an input mask  Change a display format  Etc.
  • 23. FactoryAccess Accel. Introduction v1.0223 Datasheets  Datasheet window - displays the contents of a table in a spreadsheet-like format – Each row contains a record – Each column contains a field  Speedbar - appears at the bottom of the window and is used to navigate through the records in a table
  • 24. FactoryAccess Accel. Introduction v1.0224 Datasheet View
  • 25. FactoryAccess Accel. Introduction v1.0225 Entering & Editing Records  Enter table data from the handouts or use your own data
  • 26. FactoryAccess Accel. Introduction v1.0226 Employees Table Data
  • 27. FactoryAccess Accel. Introduction v1.0227 Work_Orders Table Data
  • 28. FactoryAccess Accel. Introduction v1.0228 Labor Table Data [To be imported later]
  • 29. FactoryAccess Accel. Introduction v1.0229 Printing a Table  Access allows you to create “quick and dirty” reports by clicking the toolbar Print button – A row/column presentation is used – Field names appear along the top – Records are rows – Fields are columns – A grid is printed around each field
  • 30. FactoryAccess Accel. Introduction v1.0230 Quick Reports  Report Wizard – Module 2 covers reports – For now, be aware a quick report can be produced using the report wizard
  • 31. Factory Access Accel. Introduction v1.0231 Microsoft Access Part 2Part 2 External Data
  • 32. FactoryAccess Accel. Introduction v1.0232 Office Links  Publish it with MS Word  Analyze in MS Excel  Use Tools | Office Links or the Toolbar
  • 33. FactoryAccess Accel. Introduction v1.0233 Exporting a table  Very simple  Click File|Export (or save as)  Specify type: Access can export to many types: Excel, Text, etc.
  • 34. FactoryAccess Accel. Introduction v1.0234 Exporting tables  Export Work_Orders to CSV text file.  Note you can also export to another Access table. Even one elsewhere on a LAN!
  • 35. FactoryAccess Accel. Introduction v1.0235 Using External Data  Two methods: – Import the data into a new (or existing table) in your database – Link to the data. A table link appears in your database but the data stays in the original file.
  • 36. FactoryAccess Accel. Introduction v1.0236 Importing Files  Another very important feature  Start from new table dialog, pick Import Table  It will start a wizard  Use advanced to select fields, etc.  Specifications can be saved for later use
  • 37. FactoryAccess Accel. Introduction v1.0237 Importing a table from a Text File Importing a Text File
  • 38. FactoryAccess Accel. Introduction v1.0238 Importing from a text file  Import the instructor-supplied labor text file into the previously created labor table  Save the specification
  • 39. FactoryAccess Accel. Introduction v1.0239 Linking a table  Use new table dialog  Select Link Table  This will set up a connection to an external table. It does not become part of the Access database  Access can link to many types: Excel, ODBC connection, etc.
  • 40. FactoryAccess Accel. Introduction v1.0240 Linking a table Linking a Table
  • 41. FactoryAccess Accel. Introduction v1.0241 Link a table  Link the instructor- supplied Employees Excel  Give it a name like Employees_xls
  • 42. Factory Access Accel. Introduction v1.0242 Microsoft Access Part 3Part 3 Relating Tables
  • 43. FactoryAccess Accel. Introduction v1.0243 Relating Tables  Command sequence – Tools | Relationships  Parent table - table used as the main table for a relationship  Child table - the related table, often has several records for each record in the parent table
  • 44. FactoryAccess Accel. Introduction v1.0244 Referential Integrity  Orphan record - a child record without a corresponding parent record  Referential integrity - makes certain that related records are present
  • 45. FactoryAccess Accel. Introduction v1.0245 Table Links  In this context means relate two or more tables on columns of data  Permanent link – – established using the Relationships command – is always in effect once defined  Transient link - defined using the query-by- example feature of Access
  • 46. FactoryAccess Accel. Introduction v1.0246 Creating a Permanent LinkCreating a Permanent Link Drag from PK to FK
  • 47. FactoryAccess Accel. Introduction v1.0247 Create Permanent Links Link all Factory2000 tables Enforce referential integrity Normal, default joins for now
  • 48. FactoryAccess Accel. Introduction v1.0248 Permanent Links
  • 49. FactoryAccess Accel. Introduction v1.0249 Import Labor Table  Now import the instructor supplied labor.txt file into your labor table  Try changing an EmpNo or WoNO to an invalid value and see what happens
  • 50. Factory Access Accel. Introduction v1.0250 Accelerated Introduction to Access End of Module P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com slides.1@dhdursoassociates.com