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

Post on 30-Dec-2015

254 views 3 download

Tags:

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

MMiiccrroossoofftt AAcccceessss 22000022

IIlllluussttrraatteedd CCoommpplleettee

Advanced Forms and ReportsAdvanced Forms and ReportsCreatingCreating

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

3

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

ObjectivesObjectives

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.”

5

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

Check box

6

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

Interchangeable bound controls

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

8

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

Expression

Condition 1

Condition 2

9

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

Condition 1 formatting

Condition 2 formatting

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

11

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

Control Tip Text

ControlTip Text property

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

13

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

Field List button

Drag fields from here

Tab control

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

15

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

Column chart

Bar chart

Pie chart

16

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

Preview Chart button

Data fields

Series fields

X-axis fields

17

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

Common chart types

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

19

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

Chart placeholder

Chart datasheet

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

21

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

Report Footer section

Subform/Subreport button

22

Modifying Section PropertiesModifying Section Properties

GroupFooter 1 property

sheet

Department Footer section