Professional Documents
Culture Documents
001) ACCES, A Prologue
001) ACCES, A Prologue
Access allows us to design, create and manage a data base (that’s to say,
look up information, insert new data, delete other ones, etc)
1
ACCESS 365 - INTRODUCTION
You can examine the structure of a data base by downloading and opening
some of the on-line templates from the left panel displayed when running Access.
1º- Here we will use the data base NORTHWIND; you could download it from
the Microsoft Office’s official web, but, in order to shortcut, download it (file
Northwind.accdb) from Classroom. Then, open the file (by double clicking on it).
2
ACCESS 365 - INTRODUCTION
Tablas, Consultas, Formularios, Informes, Macros and Módulos are the typ-
ical objects of any data base. Here, we are only going to take a look over the first
four.
.
Close the form Inicio by clicking on the cross to
the upper right corner of the form window
TABLES:
They include all the data we want to store about any element: clients, work-
ers, products…
3
ACCESS 365 - INTRODUCTION
Tabla Clientes
Each client of
the table is a
register. Reg-
isters are
sorted in
rows.
This structure is the same for any table in the base. Its design requires a
careful previous planning; we’ll come back on it in exercise 10.
4
ACCESS 365 - INTRODUCTION
QUERIES:
Queries are instructions given to Access (or any data base software) in order
to get (from the data base) and show only the information we are interested
about.
Than information is displayed in a new table, but this table only exists when
the user executes the query (it exist only as an instruction).
FORMS:
Generally, the forms are only a different (and more attractive) way to display
the data included in the tables and make easy the data introduction. Usually, the
forms allow us to execute some actions by clicking on command buttons.
A form looks like an index card. Any register of the table is shown on a dif-
ferent index card. Here you can see the form Detalles de Clientes from the data
base Northwind:
5
ACCESS 365 - INTRODUCTION
This form includes additional elements like: command buttons, a list box to
search a specific client and an extra tab with an order subform. These elements
aren’t an essential part of the form and, by the time being, we are going to forget
them (we will work on them later).
REPORTS:
The reports display the information of tables or queries with a suitable for-
mat to be printed.
6
ACCESS 365 - INTRODUCTION
Make a query on the table Clients which shows only surnames and name of
the Purchasing Managers (Jefes de Compras):
1º.- Firstly, close the table Clientes by clicking on the upper right cross of the
table’s window.
2º.- Display the queries of the data base on the left pane (Todos los objetos
de Access)
Click on Diseño de
consulta.
7
ACCESS 365 - INTRODUCTION
8
ACCESS 365 - INTRODUCTION
5º.- Next, we have to specify that we want only to see the contact people
whose position in the company is Purchasing Manageer (Jefe de Compras):
9
ACCESS 365 - INTRODUCTION
The result is shown on a two columns table (so we are only interested about
two fields: surnames and name; the field Cargo, though selected in order to filter
the data, is hidden)
10
ACCESS 365 - INTRODUCTION
11
ACCESS 365 - INTRODUCTION
Creating a simple form is very easy. You are going to insert one form to show
each product in a different index card:
1º.- Display the table list on the left pane Todos los objetos de Access. Select
the table Pedidos de compra but don’t open it
The form is immediately created (though it’s a very basic form, without for-
mat)
12
ACCESS 365 - INTRODUCTION
3º.- Click on the disk icon from the tools bar to save the form; accept the
proposed name (Pedidos de compra).
Close the form and display the forms list on the left pane Todos los objetos
de Access. Notice that the new form now appears in the list. Finally, close the form.
FILES TO UPLOAD
1- Northwind.accdb
13