MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

13
MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta

Transcript of MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Page 1: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

MS Access: Using Advanced Report Features

Instructor: Vicki Weidler

Assistant: Joaquin Obieta

Page 2: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Overview

• Create customized headers and footers• Set properties to group data and modify a

report’s appearance• Use functions to add calculated values in a

report• Apply conditional formatting• Embed a subreport in a main report• View and troubleshoot report results

Page 3: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Report Headers & Footers

Header – first page of report & includes logo, image, report title

Footer – last page of report & includes details such as report totals

Page 4: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Conditional Formatting

Conditional formatting draws attention to data in a report if it meets specified criterion.

Page 5: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

KeepTogether Property

The KeepTogether property ensures that a complete section of the report is always printed on one page.

Page 6: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Group Footers

Group footers are used to group a report based on a given field.

Use to add information such as group totals or group names

Page 7: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

ForceNewPage Property

To print each set of related data on a separate page, you can use the ForceNewPage property.

Can be used in all sections EXCEPT the page header & footer sections.

Can insert pages before a section, after a section, or both.

Page 8: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

HideDuplicates Property

To display only the unique values in each field of a report, you can use the HideDuplicates property.

Page 9: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

DateDiff Function

Used to calculate the difference between two dates.

DateDiff (“interval”, [date1],[date2])

“Interval” refers to whether the calculation is the difference between days (d), months (m) or years (y).

Both fields must have Date/Time data types in order for this function to work properly.

Page 10: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

IIF Function

Used to evaluate a condition. If a condition is true, the IIF function returns one value. If it is false, it returns a different value.

IIF (condition, value_if_true, value_if_false) is the syntax for the function.

Condition means the condition you want the function to evaluate.

Value_if_true is the value to be returned if the condition is true.

Value_if_false is the value to be returned if the condition is not true.

Page 11: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Subreports

Used to display data from two different reports.

A subreport is embedded in a main report.

Generally, the main report and subreport share a common field by which they are linked.

Page 12: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

Summary

• Create customized headers and footers• Set properties to group data and modify a

report’s appearance• Use functions to add calculated values in a

report• Apply conditional formatting• Embed a subreport in a main report• View and troubleshoot report results

Page 13: MS Access: Using Advanced Report Features Instructor: Vicki Weidler Assistant: Joaquin Obieta.

•Resources•Questions & Answers•Evaluations•Thank You!!!

Conclusion