+ All Categories
Home > Documents > Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail...

Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail...

Date post: 04-Jan-2016
Category:
Upload: rudolf-foster
View: 214 times
Download: 2 times
Share this document with a friend
21
Access Forms ISYS 562
Transcript
Page 1: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Access Forms

ISYS 562

Page 2: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Components of a Form

• Form Header, Form Footer

• Page Header, Page Footer

• Detail Section

• Controls

Page 3: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Bound and Unbound Forms

• A bound form is a form that is tied to either a table or query.– Form’s Record Source property

• Unbound form:– Example: Switchboard

Page 4: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Form Properties

• Format

• Data

• Event

• Other

Page 5: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Creating a Form

• Form/New– Design View– Form Wizard– Auto Forms

• Customize the Generated Form using the Design View

Page 6: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Add Additional Controls

• Examples:– Toolbox

• Textbox with expression– =Count(SID)– =IIF(GPA < 2.0,”Bad”,”Good”)

Page 7: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Data Validation

• Table design view

• Form– Textbox Data tab

Page 8: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Conditional Formatting

• At form design view:– Format/Conditional formatting

Page 9: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

ReadOnly Form

• Form properties:– Form/Data:

– Set no to: Allow Edit, Allow delete, Allow Deletion, Data Entry

Page 10: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Main/Sub Form

• 1. Create a join query and use the join query to create a form.

• 2. Using Form Wizard:– Add two tables

Page 11: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Main/SubForm with Total

1. Create a textbox in subform’s form footer: =Count(sid)

2. Create a textbox in main form’s footer: = [subform name],[Form]!TextBoxName

Page 12: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Form Design View

• ToolBox and Wizards

Page 13: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

ToolBox: View/Toolbar/ToolBox

Page 14: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Command Button Wizard

Page 15: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Option Group Wizard

Page 16: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

ComboBox Wizard

Page 17: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

ListBox Wizard

Page 18: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Creating Reports

Page 19: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Report Sections

• Report Header/Footer– View/Report Header, Footer

• Page Header/Footer– View/Page Header, Footer

• Group Header/Footer– View/Sorting and grouping

• Detail section

Page 20: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

Creating Reports

• Design view– Format/Condition formatting– Group subtotal

• Adding textbox

• Report Wizard

Page 21: Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.

SwitchBoard Manager

• Tools/Database Utilities/SwitchBoard Manager

• SwitchBoard window:– Main form– New: Add a new switchboard form– Edit: Edit items on a switchboard form

• Edit switchboard window:– New: Add a new item on a form– Edit


Recommended