Here are the steps to create a blank Access database:
1. Click the Blank Database template under New in the starting window.
2. In the File New Database dialog box, type a name for the database (e.g. "MyDatabase") and select a save location.
3. Click Create.
This will create a new blank Access database with the specified name and save it in the selected location.
May 11, 2013 for Trade School Manila
Is there an easy way to learn Macros for Excel? In this review, we tried to do it in 2 hours! Learn recording, and convert them into loops.
Microsoft Access is a database management system from Microsoft that combines the relational Access Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft 365 suite of applications, included in the Professional and higher editions or sold separately.
This lesson begins with explaining the linear regression method characteristics, and uses. Linear regression method attempts to best fit a line through the data. Using an example and the forecasting process, we apply the linear regression method to create a model and forecast based upon it.
May 11, 2013 for Trade School Manila
Is there an easy way to learn Macros for Excel? In this review, we tried to do it in 2 hours! Learn recording, and convert them into loops.
Microsoft Access is a database management system from Microsoft that combines the relational Access Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft 365 suite of applications, included in the Professional and higher editions or sold separately.
This lesson begins with explaining the linear regression method characteristics, and uses. Linear regression method attempts to best fit a line through the data. Using an example and the forecasting process, we apply the linear regression method to create a model and forecast based upon it.
We provide Corporate & Institutional Training in Basic & Advanced MS Excel. Weekend Personalized Batches in Mumbai at your doorstep.
Call us to know more
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxmariuse18nolet
INTRODUCTION TO ACCESS
*
OBJECTIVESDefine the terms field, record, table, relational database, primary key, and foreign keyCreate a blank databaseIdentify the components of the Microsoft Access windowCreate and save a table in Datasheet viewEnter field names and records in a table datasheetOpen a table using the Navigation Pane
*
OBJECTIVESOpen an Access databaseCopy and paste records from another Access databaseNavigate a table datasheetCreate and navigate a simple queryCreate and navigate a simple formCreate, preview, navigate, and print a simple reportLearn how to manage a database by compacting, backing up, and restoring a database
*
ORGANIZING DATAYour first step in organizing data is to identify the individual fieldsThe specific value, or content, of a field is called the field valueA set of field values is called a recordNext, you group related fields together into tables
*
DATABASES AND RELATIONSHIPSA collection of related tables is called a database, or a relational databaseYou connect the records in the separate tables through a common fieldA primary key is a field, or a collection of fields, whose values uniquely identify each record in a tableWhen you include the primary key from one table as a field in a second table to form a relationship between the two tables, it is called a foreign key in the second table
*
DATABASES AND RELATIONSHIPS
*
RELATIONAL DATABASE MANAGEMENT SYSTEMSA database management system (DBMS) is a software program that lets you create databases and then manipulate data in themIn a relational database management system, data is organized as a collection of tables
*
EXPLORING THE MICROSOFT ACCESS WINDOW
*
CREATING A TABLE IN DATASHEET VIEWClick the Create tab on the RibbonIn the Tables group, click the Table buttonAccept the default ID primary key field with the AutoNumber data type, or rename the field and change its data type, if necessaryDouble-click the Add New Field column heading, and then type the name for the field you are adding to the tablePress the Tab key or the Enter key
*
CREATING A TABLE IN DATASHEET VIEWAdd all the fields to your table by typing the field names in the column headings and pressing the Tab key or the Enter key to move to the next columnIn the first row below the field names, enter the value for each field in the first record, pressing the Tab key or the Enter key to move from field to fieldAfter entering the value for the last field in the first record, press the Tab key or the Enter key to move to the next row, and then enter the values for the next record. Continue this process until you have entered all the records for the tableClick the Save button on the Quick Access Toolbar, enter a name for the table, and then click the OK button
*
CREATING A TABLE IN DATASHEET VIEW
*
ENTERING RECORDS
*
SAVING A TABLEClick the Save button on the Quick Access Toolbar. The Save As dialog box opensIn the Table Name text box, type the name for the tableCli.
1 Week 6 - What Well Be Working On This Week In th.docxdorishigh
1
Week 6 - What We'll Be Working On This Week
In this week's lessons we'll be looking at Select Queries in Access – creating them with the help
of the Wizard and from scratch in Design View, incorporating Sort conditions into queries, and
applying criteria as a means of filtering the data.
Queries can save you lots of time, and as a result there's a tremendous amount of information
that you need to be aware of.
Goals:
Using the Simple Query Wizard to Create a Select Query on the basis of a single table page 9
Resizing the areas of the Query Design window page 15
Basing a query on multiple related tables page 17
Adding, moving, and deleting fields on the QBE Design grid page 20
Sorting the dynaset (recordset) by a single field in Datasheet View page 25
Sorting the dynaset (recordset) by multiple fields in Datasheet View page 26
Specifying a Sort order in the QBE Design grid page 28
Hiding fields in the dynaset (recordset) page 31
Specifying different criteria page 33
Changing the dynaset (recordset) page 36
Adding a table to the Query Design window page 36
Using a query to find records with blank fields page 40
Using wild cards in criteria page 43
Creating a Select query without the wizard page 46
Converting filtered data in a table to a query page 49
So get comfortable, and let's get to it!
2
Overview of Queries
Queries are an essential tool in any database management system. A query is an Access object
that provides a custom view of data from one or more tables, or other queries. It is a set of
specifications that tells Access what information you want to see in the database, and how you
want that information to be organized. You can define queries to select, update, insert, or delete
data. You can also define queries that create new tables from data in one or more existing tables.
Up to now you have learned how to create tables, modify them, and link or import tables from
other data sources (Excel). When you define and run a select query, which selects information
from the tables and/or other queries in your database, Access creates a dynaset (recordset) of
the selected data. You can work with a dynaset (recordset) the same way that you work with a
table: you can browse through it, select information from it, print it and even update the data in it.
BUT unlike a real table, the recordset doesn't actually exist in your database. Access creates a
recordset from the data in the source tables of your query at the time you run the query. You will
see that queries are the best way to focus on the specific data you need for the task at hand.
To create a query, you must specify the following:
The record source
This refers to the object that contains the records that Access will use for the contents of the
query.
The fields to be included in the query
The fiel ...
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docxannetnash8266
Access Assignments Complete List
1. Acc 2 Bank Database
2. Acc 2 MC Employees
3. Acc 4 MC Linksaver
4. Acc 4 MC Students
5. Acc Project Wildoutfitters
Access Assignment Readings
Tutorial 1: Introduction to Microsoft Access 2007
Learning Objectives
After reading this tutorial and completing the associated exercises, you will be able to:
·
Open MS Access.
·
Create tables using MS Access.
·
Create forms and use them to enter data into tables.
Note: Be sure to work through the examples in this tutorial as you read. This is the way you will learn by doing.
Microsoft Access: A Relational Database Application
Microsoft Access is a relational database application that is part of the Microsoft Office suite of applications. A database is an organized way to store data, and database software usually provides features that allow a user to add, delete, update, and manipulate (transform) data. A relational database, such as MS Access, stores data in tables. A table consists of rows (records) and columns (fields). Although the appearance of the records and the fields resembles the rows and columns you may have seen or may study later in a Microsoft Excel worksheet, Access is a much more powerful tool than Excel for organizing, storing, and retrieving data. Much of this additional power comes from the relational model that is implemented by MS Access.
With Excel, you can create data tables that list all data for a particular entity (customer, product, etc.) in a row of the worksheet. So, if a customer makes 100 purchases and a business tracks the customer's address in a database, that address would be listed 100 times. The relational model used by MS Access allows us to store data in separate tables and then link tables via common fields—the primary key/foreign key relationship.
A primary key in a table is a field that contains a unique value for each and every record in the table. In other words, if a field is a primary key, you can't use a specific value more than once in that column. A foreign key is a field in one table that contains values that are stored in a primary key in another table. If we look at the foreign key for a specific record, we can use the value to look up more data in the table where that field is used as a primary key. We are then guaranteed to find only one record that matches that value. Basically, a foreign key field provides a reference to a record in another table.
For example, suppose we have a Customer table, in which there is a field CustomerID that is a primary key in that table. If a copy of the CustomerID is stored as a foreign key in a CustomerLoan table, then information such as the customer's address is stored only once, in the Customer table, but can be accessed from any customer loan record. This reduces data redundancy and improves updating and other database functions.
Most of this module will be spent learning by building. First you will create a database consisting of one table, and t.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
Basic introduction to ms access
1. MS-Access Basic 1
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 management tool that enables one to have good command of data
collected. The programme enables one to retrieve, sort, summarize and report results
speedily and effectively. It can combine data from various files through creating relationships,
and can make data entry more efficient and accurate.
Microsoft Access (MS Access) enables one to manage all important information from a single
database file. Within the file, one can use:
• Tables to store your data.
• Queries to find and retrieve specific data of interest.
• Forms to view, add, and update data in tables.
• Reports to analyze or print data in a specific layout.
• Data access pages to view or update, the data.
In MS Access, data is stored once in one table, but can be viewed from multiple locations.
When the data is updated in a Table, Query or Form, it is automatically updated everywhere it
appears
Establishment of Ms Access database
All Ms Access databases files are saved with extension .mdb
A database should have a separate table for every major subject, such as pedigree records,
Production data or Treatment information. Data should not be duplicated in multiple tables.
Microsoft Access provides three methods to create a database
Database Wizard (though easy, the wizard offers limited options to customize the
database)
Using a template (This method works best if one can find and use a template that
closely matches the specific requirements)
Creating a database directly (This is the most flexible method, but it requires one to
define each database element separately).
Create a new Access database [Exercise 1.A]
After creating a new database, this should be saved by the name which reflects the content of
the database. Upon saving the database, the Ms Access database window opens with the
Tables tab-active (i.e in such a way that the next activity should be to create a table).
2. MS-Access Basic 2
Creating a table
Tables are the data storage facilities in Ms Access. Each table contains rows called records
and columns called fields.
A record is a collection of facts about a particular animal or event. Each record in a table
should be unique. To distinguish one record from another, tables can contain a primary key
field.
A field is a single kind of fact that may apply to each animal or event. For example, date of birth
is a field in a table on animal information.
The fields in a database have settings that determine the
- type of data they can store,
- how the data is displayed,
- what can be done with the data.
For example, field settings can ensure that birth dates are entered with two numbers for the
month, two numbers for the day, four numbers for the year, and slashes in between:
01/04/2006.
One important setting for fields is the data type, which could be a number, text, currency, and
date/time. The data type limits and describes the kind of information in the field. The data type
also determines the actions one can perform on a field and how much memory the data will use.
Fields also have properties that control the details of information inside them, including a
character length, a default value, and a validation rule that makes sure the data meets
certain criteria.
Tables may be created by either:
- Table wizard,
- Design view
- Entering data in a spreadsheet.
Creating Tables using design view
Creation of a table by design view is a user customized way of making data storage tables.
Each field in the design view of a table corresponds to a column in the datasheet view of a
table.
Designing a table involves:
- Entering unique names of the columns of the table in the “field name” column of the
design view. Names of fields and objects in Microsoft Access can be up to 64
characters long. They can include any combination of letters, numbers, spaces, and
special characters except a period (.), an exclamation point (!), an accent grave (`), and
brackets ([ ]). They also can't begin with leading spaces
- In the Data Type column, declare the type of data that will be entered in that column.
The default is Text; or click in the Data Type column, click the arrow, and select the
data type.
- In the lower portion of the window Field properties, can be further specified. Microsoft
Access allows one to distinguish between two kinds of blank values: Null values and
3. MS-Access Basic 3
zero-length strings The Required property determines whether users can leave a field
blank, resulting in a Null value. The AllowZeroLength property determines whether
Text or Memo fields can contain a zero-length string.
- Define a Primary Key field (You don't have to define a primary key, but it's usually a
good idea. If you don't define a primary key, Microsoft Access asks if you want Access
to create one for you when you save the table)
- Save the table by a name of your choice, (related to the information the table)
- Finally, close the design view to return to the database window where the columns of
the table that you have just created are displayed.
Note:
To insert new fields within the table, in design view, click in the row below where you want to
add the field, and then click Insert Rows on the toolbar.
To add the field to the end of the table, click in the first blank row.
To change from one view to another, make a selection on the View menu or click the arrow next
to the View button and choose from the list that appears.
To view, enter, and change data easily and directly in a table, create a ‘form’.
Exercise 1. B
Creating data entry forms
A form is a type of a database object that is primarily used to enter or display data in a
database. Most forms are bound to one or more tables and queries in the database. A form's
record source refers to the fields in the underlying tables and queries.
A form:
- Focuses on one record at a time
- Can display fields from more than one table
- Can also display pictures and other objects
- Can contain a button that prints, opens other objects, or otherwise automates tasks
Data entry forms can be created either using a form wizard or in the design view. Once a table
with fields is available, it is easy to create a form using the wizard:
o Click on the forms tab
o Double click on the create form by using a wizard.
o This will lead you through a series of steps until you finish creating the form.
The form created is linked to the table and information entered in the fields of the form is stored
in the table.
A form need not contain all the fields from each of the tables or queries that it is based on.
4. MS-Access Basic 4
When you open a form, Microsoft Access retrieves the data from one or more tables, and
displays it on the screen with the chosen layout in the Form Wizard, or with the layout that you
created on your own in design view.
Exercise 1.C
Queries
A query is a derived item in the database meant to answer specific questions that relate to the
information in the database. Queries are handy during data processing.
To find and retrieve just the data that meets conditions that you specify, including data from
multiple tables, create a query. A query can also update or delete multiple records at the same
time, and perform predefined or custom calculations on your data.
A query requests data from the database. At its simplest, a query merely fetches all data
from a single table. But as you create more complex (and more typical) queries, you can
assemble exactly the data you want (i.e. unique sets of data that you require at any given time).
Queries can also be used to execute mathematical and logical functions to obtain certain
information in the database.
Queries are derived from and linked to tables or other queries. (Due to these linkages, they
tend to largely inflate the size of the database and should thus only be used to execute the
intended functions, and stored only if updated information is to be retrieved)
There are various types of queries for different uses:
o Select queries- used for extracting specific information from a large multi-information
table. They can also be helpful in merging related information from different tables.
o Make-Table queries- used for making sub tables from the main table(s) and queries.
o Update queries- important in adding information in the fields of a Table.
o Append queries- used to copy records from one table/ query to another.
o Delete query- to PERMANENTLY remove unwanted content from the table. NOTE:
delete query should not be used unless one surely will not require the information to be
deleted.
To run a simple Select query: In the Database window, click Queries under Objects. Click the
query you want to open. Click Open on the Database window toolbar.
5. MS-Access Basic 5
Caution: It's a good idea to make a copy of the data you are changing or moving in an action
query, in case you need to restore the data to its original state after running the action query
In Design view,
- Choose the tables or existing queries that contain the fields to use
- Select and drag those fields to a grid (The fields can come from just one table, or from
multiple tables, the fields specified for a query control the data that the query retrieves)
- Specify criteria and other settings, such as whether to sort the results (
To test a new query in Design view. Just click the Run button on the Query Design toolbar.
This will switch you to the results view.
If you don't see the results you want, click the Design button to return to Design view.
Note: To stop a query in progress (after you start it), press “CTRL+BREAK”
Exercise 2.A
A query result can include data from multiple tables. To combine data from tables, you use
the Join operation
The Join operation matches rows of one table with rows of another table, based on values in
those rows.
Relational Databases
A relational database is one whose components (tables, forms, queries etc) are related
(linked). The linkages between database components are created by making relationship links
between them. The relationship can be between:
- One component and another (one-to-one relationship),
- One component related to several other components (one-to-many)
- Several database components (many-to-many).
Creation of relationships between database components reduces data redundancy and
enhances ease of access of the information.
Creation of relationships between database components
When you create a relationship between tables, the related fields don't necessarily have to have
the same names. However, related fields must have the same data type. UNLESS the
Primary key field is an AutoNumber field.
6. MS-Access Basic 6
An AutoNumber field can be matched with a Number field only if the FieldSize property of both
of the matching fields is the same. For example, you can match an AutoNumber field and a
Number field if the FieldSize property of both fields is Long Integer. Even when both matching
fields are Number fields, they must have exactly the same FieldSize property setting.
Defining a one-to-many or a one-to-one relationship
1. Close any tables you have open. You can't create or modify relationships between open
tables.
2. Press F11 to switch to the Database Window.
3. Click Relationships on the toolbar.
4. If you haven't yet defined any relationships in your database, the Show Table dialog box
is automatically displayed.
If you need to add the tables you want to relate and the Show Table dialog box isn't
displayed, click Show Table on the toolbar.
5. Double-click the names of the tables you want to relate, and then close the Show Table
dialog box. To create a relationship between a table and itself, add that table twice.
6. Drag the field that you want to relate from one table to the related field in the other table.
In most cases, you drag the primary key field (which is displayed in bold text) from one table
to a similar field (often with the same name) called the foreign key in the other table (see the
illustration below).
7. MS-Access Basic 7
7. The Edit Relationships dialog box is displayed. Check the field names displayed in the
two columns to ensure they are correct. You can change them if necessary.
Set the relationship options if necessary.
8. Click the Create button to create the relationship.
9. Repeat steps 5 through 8 for each pair of tables you want to relate.
When you close the Relationships window, Microsoft Access asks if you want to save the
layout. Whether you save the layout or not, the relationships you create are saved in the
database.
Note: You can create relationships using QUERIES as well as TABLES. However, referential
integrity isn't enforced with queries.
Exercise 2.B
.NOTE
Data can be imported into and exported out of access from various other programmes, eg ascii
files, MS Excel, Dbase, .rtf etc.
Reports
Reports provide a means of organizing and summarizing data. Reports are often used to
present an overview highlighting main points and trends. A report can be a simple list, a status
report or a monthly production report. With reports, one can prepare:
- Mailing labels for various producers
- Produce a directory
- Prepare invoices
- Present data summaries.
A report is made from the data available. There are several ways of preparing a report:
• AutoReport: the quickest way to create a report, but gives least control over the report's
structure and appearance. This automatically contains all the fields in its data source,
whether table or query.
• Report Wizard: asks you questions and creates a report based on your answers. The
Report Wizard asks which tables or queries the report will be based on, and which fields to
use from those data sources. It also asks whether the data is to be grouped, and how it
should be sorted and summarized.
• Creating a Report in Design view: Gives one control, right from the start. Design view
provides you with a toolbox from which you drag selected controls and arrange them on a
grid.
To see the report as it will appear when printed, it should be viewed in Print Preview.
Different properties may be set for a report, to change how it is viewed or printed.
8. MS-Access Basic 8
For example, a report's Page Header property determines whether the page header is printed
on the page that begins with the Report Header.
To view or change a report's properties, just double-click the report selector where the
rulers meet.
To see more details about a property, click that property and then press F1.
To view a control's properties, double-click the control.
Further information is available through the help section within access, and at
http://office.microsoft.com/en-gb/training/CR061829401033.aspx
9. MS-Access Basic 9
Terms used in Access
Action query: A query that copies or changes data. Action queries include append, delete,
make-table, and update queries. They are identified by an exclamation point (!) next to their
names in the Database window
Crosstab query: A query that calculates a sum, average, count, or other type of total on
records, and then groups the result by two types of information: one down the left side of the
datasheet and the other across the top
Database window: The window that appears when you open an Access database or an Access
project. It displays shortcuts for creating new database objects and opening existing objects
Datasheet view: A window that displays data from a table, form, query, view, or stored
procedure in a row-and-column format. In Datasheet view, you can edit fields, add and delete
data, and search for data
Data type: The characteristic of a field that determines what type of data it can hold. Data types
include Boolean, Integer, Long, Currency, Single, Double, Date, String, and Variant
Design view: A window that shows the design of these database objects: Tables, queries,
forms, reports, macros and data access pages. In design view one can create new database
objects and modify the design of existing ones.
Field data type: A characteristic of a field that determines what kind of data it can store. For
example, a field whose data type is Text can store data consisting of either text or number
characters, but a Number field can store only numerical data
Field properties are a set of characteristics that provide additional control over how the data in
a field is stored, entered, or displayed. Which properties are available depends on a field's data
type
Foreign key: One or more table fields (columns) that refer to the primary key field or fields in
another table. A foreign key indicates how the tables are related
Primary key: One or more fields (columns) whose values uniquely identify each record in a
table. A primary key cannot allow Null values and must always have a unique index. A primary
key is used to relate a table to foreign keys in other tables
Relationship: an association that is established between common fields (columns) in two
tables or other components of a database
Relationships window: A window in which you view, create, and modify relationships between
tables and queries
Referential integrity: Rules that you follow to preserve the defined relationships between
tables when you enter or delete records
Select query: A query that asks a question about the data stored in your tables and returns a
result set in the form of a datasheet, without changing the data
10. MS-Access Basic 10
Microsoft Access Practical
Exercise 1
1.A. Create a blank access database and save it under a name of your choice on the computer
1. Click New on the toolbar.
2. In the New File task pane, under New, click Blank Database.
3. In the File New Database dialog box, specify a name and location for the database, and
then click Create
1.B. Create 2 tables in Design view, where you can add fields, define how each field appears or
handles data that would be suitable for entry of the table of data given
- Table 1. Pedigree data
- Table 2. Production data
1 Pedigree
Record No AnimID SireID DamID
2 Production data
Record No AnimID Breed Herd Dt Brth BrthWt Sex Dt Wt 1 Wt 1
1. C. Create 3 forms based on the data given (page 3 of handout)
Form number 1: To ease entry of Pedigree data
Form number 2: To enable entry of information on dates
Form number 3: To enable entry of performance information
Key in data given using the forms designed
1 Pedigree
Record No AnimID SireID DamID
1 1E54 6C211 5C66
2 1E40 653 6C36
3 1E52 6C211 4C36
4 1E65 6C96 5C170
5 1E34 653 2C51
6 1E43 5C198 3C59
7 1E55 6C211 3C76
8 1E60 6C211 2C88
9 1E61 6C211 4C25
10 1E67 6C211 5C122
11. MS-Access Basic 11
2 Production data
Record No AnimID Breed Herd Dt Brth BrthWt Sex Dt Wt 1 Wt 1
1 1E54 B 2 11/07/2001 32 M 27/11/2001 112
2 1E40 B 2 15/06/2001 32 M 27/11/2001 150
3 1E52 B 2 06/07/2001 30 F 26/11/2001 114
4 1E65 B 2 19/07/2001 28 F 27/11/2001 115
5 1E34 B 2 12/06/2001 30 M 30/10/2001 118
6 1E43 B 2 18/06/2001 28 M 26/11/2001 100
7 1E55 B 2 11/07/2001 28 M 26/11/2001 106
8 1E60 B 3 15/07/2001 30 M 26/11/2001 120
9 1E61 B 3 15/07/2001 30 M 26/11/2001 100
10 1E67 B 3 21/07/2001 28 M 26/11/2001 110
Exercise 2
2.A. Create a Query to:
- Extract years from data
- Extract months
- Create a Herd-Year-Season effect
Create a new table from the results of the query
2.B. Create a query with relationships using information from table created in Exercise 2.A.
and Table 2-Pedigree data.
Create a table with both production, calculated and pedigree information that can be used for
data analysis
For More information, and an example database, use Access help, where there is a database
called Northwind, given as an example.