course ilt forms and queries unit objectives create forms by using autoform and the form wizard, and...

30
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter data in a form; modify form controls and properties; align form controls; use a form to modify data; and save, close or delete a form Find, sort and filter records in forms Create and run a simple query, save a query, modify a query to add fields, specify or modify criteria in a query, and close or delete a query

Upload: darcy-mcdaniel

Post on 04-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Forms and queries

Unit objectives Create forms by using AutoForm and the

Form Wizard, and add or modify form headers and footers

Open and enter data in a form; modify form controls and properties; align form controls; use a form to modify data; and save, close or delete a form

Find, sort and filter records in forms Create and run a simple query, save a

query, modify a query to add fields, specify or modify criteria in a query, and close or delete a query

Page 2: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Topic A

Topic A: Creating forms Topic B: Modifying forms Topic C: Finding, sorting, and filtering

records Topic D: Queries

Page 3: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Forms

Primary objects to enter and edit data Three views:

– Design view - to create a form– Datasheet view - to view row and column

format– Form view - to view one record

Page 4: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Using AutoForm

1. Open the database

2. Select the table to base form

3. Click AutoForm button

4. Save the form

Page 5: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

The Design view window

Form Header section Field list

Footer section Detail section

Page 6: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Using the Form Wizard

1. Click Form

2. Click New button

3. Select Form Wizard and table

4. Click OK

5. Select the fields to display

6. Select layout

7. Select style

8. Enter name of form, click Finish

Page 7: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Adding a header

1. Click form header section

2. Click Toolbox button

3. Select label control from toolbox

4. Place label control in form header

5. Enter the heading

6. Save the form

Page 8: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Topic B

Topic A: Creating forms Topic B: Modifying forms Topic C: Finding, sorting, and filtering

records Topic D: Queries

Page 9: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Opening a form

1. Click Forms

2. Select form

3. Click Open

Page 10: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Entering data in a form

1. Click New Record button

2. Type data

3. Press tab

4. Repeat step 2 & 3 for other fields

5. Save and close form

Page 11: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Modifying controls

1. Select fields

2. Drag controls to reposition

3. Save form

Page 12: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

The Property Sheet

Page 13: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Aligning controls

1. Open form in Design view

2. Select controls

3. Choose Format, Align, and menu option

4. Update and close form

Page 14: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Modifying data

1. Open form in Form view

2. Click field to modify

3. Type text

Page 15: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Saving a form

1. Choose, File, Save As to open the Save As dialog box

2. Enter the name

3. Click OK

Page 16: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Deleting a form

1. Close the form

2. Click Forms

3. Select the form

4. Press Delete

Page 17: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Topic C

Topic A: Creating forms Topic B: Modifying forms Topic C: Finding, sorting, and filtering

records Topic D: Queries

Page 18: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Finding records

1. Place insertion point

2. Click the Find button

3. Verify that Find tab is active

4. Enter data

5. Click Find Next

6. Click OK when done

Page 19: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Sorting records

Select the field Click Sort Ascending button or

Sort Descending button

Page 20: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Applying a filter to a form

1. Click the Filter By Form button

2. Select the field

3. Select the value to set filter

4. Click Apply Filter

Page 21: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Topic D

Topic A: Creating forms Topic B: Modifying forms Topic C: Finding, sorting, and filtering

records Topic D: Queries

Page 22: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Creating a simple query

1. Open Database

2. Click Queries

3. Click New

4. Select Design View and click OK

5. Add table and click Close

6. Select fields

Page 23: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

The query Design view

Page 24: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

The Save As dialog box

Page 25: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Adding fields to a query

1. Click cell of Field row

2. Select field from list

Page 26: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Using criteria

1. Click the Criteria cell

2. Enter expression

Page 27: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Changing criteria

1. Click the Criteria cell

2. Enter new expression

3. Run query

Page 28: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Close a query

Choose File, Close Click Close on the Control menu Click Close button

Page 29: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Deleting a query

1. Close the query

2. Click Query

3. Select query

4. Press Delete

Page 30: Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter

Cou

rse

ILT

Unit summary

Created forms by using the AutoForm and the Form Wizard, and added a title and footer to a form

Opened and entered data in a form, modified controls and form properties, aligned controls, modified data, saved, closed, and deleted a form

Searched, sorted and filtered records Created, ran, and saved a simple

query, modified and specified criteria, closed and deleted a query