Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access...

22
M M i i c c r r o o s s o o f f t t A A c c c c e e Advanced Forms and Advanced Forms and Reports Reports Creating Creating

Transcript of Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access...

Page 1: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

MMiiccrroossoofftt AAcccceessss 22000022

IIlllluussttrraatteedd CCoommpplleettee

Advanced Forms and ReportsAdvanced Forms and ReportsCreatingCreating

Page 2: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

2

Add check boxes and toggle buttonsAdd check boxes and toggle buttons Use conditional formatting in a formUse conditional formatting in a form Create custom HelpCreate custom Help Add tab controlsAdd tab controls

ObjectivesObjectives

Page 3: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

3

Add chartsAdd charts Modify chartsModify charts Add subreport controlsAdd subreport controls Modify section propertiesModify section properties

ObjectivesObjectives

Page 4: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

4

Adding Check Boxes Adding Check Boxes and Toggle Buttonsand Toggle Buttons

A A check boxcheck box control is often used to control is often used to display the value of a Yes/No field on display the value of a Yes/No field on a form or report.a form or report.– A check means “Yes” and the absence A check means “Yes” and the absence

of a check means “No.”of a check means “No.” A A toggle buttontoggle button control can also control can also

display the value of a Yes/No field.display the value of a Yes/No field.– When a toggle button appears indented When a toggle button appears indented

or pushed in, it means “Yes” and when or pushed in, it means “Yes” and when it appears raised, it means “No.”it appears raised, it means “No.”

Page 5: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

5

Adding Check Boxes Adding Check Boxes and Toggle Buttons (cont.)and Toggle Buttons (cont.)

Check box

Page 6: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

6

Adding Check Boxes Adding Check Boxes and Toggle Buttons (cont.)and Toggle Buttons (cont.)

Interchangeable bound controls

Page 7: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

7

Using Conditional Formatting Using Conditional Formatting in a Formin a Form

Conditional FormattingConditional Formatting can be used to can be used to determine the appearance of a field on a determine the appearance of a field on a form or reportform or report– Based on the field’s value, a value in another Based on the field’s value, a value in another

field, or when the field has the focusfield, or when the field has the focus– FocusFocus is when a field can receive use input is when a field can receive use input

through the keyboard or mousethrough the keyboard or mouse– Format changes include changing text color, Format changes include changing text color,

background color, or style of the controlbackground color, or style of the control

Page 8: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

8

Using Conditional Formatting Using Conditional Formatting in a Form (cont.)in a Form (cont.)

Expression

Condition 1

Condition 2

Page 9: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

9

Using Conditional Formatting Using Conditional Formatting in a Form (cont.)in a Form (cont.)

Condition 1 formatting

Condition 2 formatting

Page 10: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

10

Creating Custom HelpCreating Custom Help

Create several types of Custom Help Create several types of Custom Help for a form or a control on a form.for a form or a control on a form.– To display a textual tip that pops up To display a textual tip that pops up

over a control when you point to it, use over a control when you point to it, use the the ControlTip TextControlTip Text property for that property for that controlcontrol

– Use the Use the Status Bar TextStatus Bar Text property to property to display helpful information about a form display helpful information about a form or control in the status baror control in the status bar

Page 11: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

11

Creating Custom Help (cont.)Creating Custom Help (cont.)

Control Tip Text

ControlTip Text property

Page 12: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

12

Adding Tab ControlsAdding Tab Controls

The The tab controltab control is used to organize is used to organize the controls on a form and to give the the controls on a form and to give the form a three-dimensional look.form a three-dimensional look.– The property sheet uses tab controls to The property sheet uses tab controls to

organize properties identified by their organize properties identified by their category namecategory name

• Format, Data, Event. Other, and AllFormat, Data, Event. Other, and All

Page 13: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

13

Adding Tab Controls (cont.)Adding Tab Controls (cont.)

Field List button

Drag fields from here

Tab control

Page 14: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

14

Adding ChartsAdding Charts

ChartsCharts, also called graphs, are visual , also called graphs, are visual representations of numeric data that representations of numeric data that help users see comparisons, help users see comparisons, patterns, and trends in data.patterns, and trends in data.– Can be inserted on a form, report, or Can be inserted on a form, report, or

data access pagedata access page– Use the Use the Chart WizardChart Wizard to help create a to help create a

chartchart

Page 15: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

15

Adding Charts (cont.)Adding Charts (cont.)

Column chart

Bar chart

Pie chart

Page 16: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

16

Adding Charts (cont.)Adding Charts (cont.)

Preview Chart button

Data fields

Series fields

X-axis fields

Page 17: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

17

Adding Charts (cont.)Adding Charts (cont.)

Common chart types

Page 18: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

18

Modifying ChartsModifying Charts

Charts are modified in Design View Charts are modified in Design View of the form or report that contains the of the form or report that contains the chart.chart.– Design View displays a chart Design View displays a chart

placeholder that represents the actual placeholder that represents the actual chartchart

– Modify the chart placeholder to change Modify the chart placeholder to change the chartthe chart

Page 19: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

19

Modifying Charts (cont.)Modifying Charts (cont.)

Chart placeholder

Chart datasheet

Page 20: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

20

Adding Subreport ControlsAdding Subreport Controls

A A subreportsubreport control displays a report control displays a report within another report.within another report.– The report that contains the subreport The report that contains the subreport

control is called the control is called the main reportmain report– Use the subreport control to link two Use the subreport control to link two

reports together to automate printingreports together to automate printing• Use to change the order in which Use to change the order in which

information printsinformation prints

Page 21: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

21

Adding Subreport Controls Adding Subreport Controls (cont.)(cont.)

Report Footer section

Subform/Subreport button

Page 22: Microsoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated CompleteMicrosoft Access 2002 Illustrated.

22

Modifying Section PropertiesModifying Section Properties

GroupFooter 1 property

sheet

Department Footer section