overview importing text files creating forms creating reports

25
Overview • Importing text files • Creating Forms • Creating Reports

Post on 21-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

Overview

• Importing text files• Creating Forms• Creating Reports

Importing files• You can create or populate a table in Access by

importing data from External files (including text file, Excel file or files from other database applications e.g. SQL database files.)

• For importing a text file, Click on the “External Data” tab and click on text file.

• An importing dialog box appears which helps you through the importing process . Click on the “browse” button and navigate to the location of the text file that you wish to import and click on OK.

Importing a Text File

Click on browse to

navigate the location of the file you

are importing

Select the file from

your Computer

Click Open to Import the file

Importing a Text File

The Text file is

Imported as a new

table

Importing a Text File

Delimiter is Comma in the Text

file

Importing a Text File

Make sure this box is checked,

else even Fields become Records in the

Table

Importing a Text File

Click Next

Importing a Text File

You can choose your own Primary

key

Importing a Text File

You can rename the table here

Importing a Text File

Click close since we do not want to

save the importing

steps

Importing a Text File

A normal Text file has been converted into a regular Table in Access by

Importing it.

Creating Forms

• Like Datasheet view, Forms can be used to manipulate records in a table.

• To create a Simple form, click on the “create” tab and select the table for which you want to create form and click on the “Form” button.

• Click on the save button and specify a name for your form.

Creating Forms

Form views

• Two views for modifying the form:Form view: This view is used to change records in

the table, e.g. add/delete/modifyLayout view: To change the layout of the form, e.g.

add/delete/change labels and fields.

Layout View of Form

You can go to

the Next record

Saving the Form

Creating a Report

Layout View of the Report

Layout View of Report (Contd..)

You can delete only in Layout View

Views of Report

By default the View of

report is ‘Layout’

Report view

Saving the Report

Practice these steps until your comfortable with all the concepts.

Thank You

Contributed to and created by the CS200B TAs