Globetech Computer Ms Access Note 2020
Globetech Computer Ms Access Note 2020
ACCESS NOTE
DATABASE MANAGEMENT SYSTEM (DMS)
This is an application that helps you maintain your records.
Ms access.
D-base.
Lotus approach.
FoxPro.
Paradox etc
MS ACCESS OBJECTS/STRUCTURES
1. Table
2. Queries
3. Report
4. Form
5. Macro
D. Form is a Microsoft access object on which you place controls for taking
actions or for entering, displaying and editing data in fields.
Specify the name and location for the database. Click Create to start
defining your new database.
Note: - 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 it to create
one for you when you save the table by clicking yes.
Click Save on the toolbar, and then type the name for the table. Finally you
click OK.
OPENING A TABLE
In the Database window, click Tables under Objects. Click the name of the
table you want to open.
To open the table in Design view, click Design and to open the table in
Datasheet view, click Open on the Database window toolbar.
NB: - After you've opened a table, you can easily switch between the two
views by clicking the View button on the toolbar
PRIMARY KEYS.
They are unique characters that are inserted in a table, for record identity.
They also help in creating of table’s relationships establishment.
QUERIES.
Creating A Select Query.
Click query under Objects, and then click New on the Database window
toolbar.
Click Design View and then click Ok. Insert by selecting and clicking add
the tables or queries that include the records you want in your query.
Drag from the field list to the query design grid the fields you want in your
query and specify the criteria if necessary.
Click Run on query menu to create your select query.
Click query under Objects, and then click New on the Database window
toolbar.
Click Design View and then click Ok. Insert by selecting and clicking add
the tables or queries that include the records you want to update and the
fields you want to use for setting criteria.
In the menu bar click query menu click Update Query. Drag from the field
list to the query design grid the fields you want to update or you want to
specify criteria for.
In the Criteria cell, specify the criteria if necessary.
In the Update To cell for the fields you want to update, type the expression
or value you want to use to change the fields.
Click Run on query menu to update the records.
In the Database window, click Forms under Objects. Click the New button
on the Database window toolbar.
In the New Form dialog box, click form wizard. Select the table or other
record source that includes the data you want to base your form on. Click
OK.
Follow the directions in the wizard dialog boxes by clicking next to
continue till you reach the end that you click, finish.
If the resulting form doesn't look the way you want, you can change it in
Design view.
Follow the directions in the wizard dialog boxes by clicking next to
continue till you reach the end that you click, finish.
If the resulting report doesn't look the way you want, you can change it in
Design view.
Opening a report
In the Database window, click Reports under Objects. Click the report you
want to open. On the Database window toolbar, click the Design button to
open the report in Design view, or click the Preview button to open the
report in Print Preview
RELATIONSHIPS.
They are: -