46
Microsoft Access 2013 ® ® Tutorial 7 Creating Custom Reports

Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

Microsoft Access 2013® ®

Tutorial7CreatingCustomReports

Page 2: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPObjectives• Session7.1– View,filter,andcopyreportinformationinReportview

– ModifyareportinLayoutview– ModifyareportinDesignview

NewPerspectivesonMicrosoftAccess2013 2

Page 3: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPObjectives(Cont.)• Session7.2– Designandcreateacustomreport– Sortandgroupdatainareport– Add,move,resize,andaligncontrolsinareport– Addlinestoareport– Hideduplicatevaluesinareport

NewPerspectivesonMicrosoftAccess2013 3

Page 4: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPObjectives(Cont.)• Session7.3– Addthedate,pagenumbers,andtitletoareport– Createandmodifymailinglabels

NewPerspectivesonMicrosoftAccess2013 4

Page 5: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports

• Case- ChathamCommunityHealthServicesCreatingCustomReportsforChathamCommunityHealthServices

• Userwantstomakesomechangestoanexistingreportinthedatabaseandrequestedanewreportthatwillbeusedtoproduceaprintedlistofallinvoicesforallvisits

– Reportcustomizationincludes:• Groupingdata• Calculatingtotals• Addinglinestoseparatereportsections

NewPerspectivesonMicrosoftAccess2013 5

Page 6: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 6

Page 7: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 7

Page 8: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 8

• Areportisaformattedoutput(screendisplayorprintout)ofthecontentsofoneormoretablesinadatabase– Althoughyoucanformatandprintdatausingdatasheets,queries,andforms,reportsoffergreaterflexibilityandprovideamoreprofessional,readableappearance

• YouneedtoproduceacustomreportwhenevertheReporttoolortheReportWizardcannotautomaticallycreatethespecificreportyouneed,orwhenyouneedtofine-tuneanexistingreporttofixformattingproblemsortoaddcontrolsandspecialfeatures

Page 9: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 9

ViewingaReportinReportView• YoucanviewreportsonscreeninPrintPreview,Layoutview,Designview,andReportView

• Reportviewprovidesaninteractiveviewofareport– YoucanuseReportviewtoviewthecontentsofareportandtoapplyafiltertoitsdata

– YoucanalsocopyselectedportionsofthereporttotheClipboardandusetheselecteddatainanotherprogram

Page 10: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 10

Page 11: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 11

Page 12: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 12

Page 13: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 13

ModifyingaReportinLayoutView• YoucanmakereportchangesinLayoutview• ModifyingareportinLayoutviewissimilartomodifyingaforminLayoutview

Page 14: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 14

Page 15: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 15

Page 16: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 16

Page 17: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 17

Page 18: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 18

ModifyingaReportinDesignView• AreportinDesignviewisdividedintosevensections:

– ReportHeadersection—appearsonceatthebeginningofareportandisusedforreporttitles,companylogos,reportintroductions,dates,visualelementssuchaslines,andcoverpages

– PageHeadersection—appearsatthetopofeachpageofareportandisusedforpagenumbers,columnheadings,reporttitles,andreportdates

– GroupHeadersection—appearsbeforeeachgroupofrecordsthatsharethesamesortfieldvalue,andusuallydisplaysthegroupnameandthesortfieldvalueforthegroup

– Detailsection—containstheboundcontrolstodisplaythefieldvaluesforeachrecordintherecordsource

Page 19: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 19

ModifyingaReportinDesignView• AreportinDesignviewisdividedintosevensections:

– GroupFootersection—appearsaftereachgroupofrecordsthatsharethesamesortfieldvalue,andusuallydisplayssubtotalsorcountsfortherecordsinthatgroup

– PageFootersection—appearsatthebottomofeachpageofareportandisusedforpagenumbers,briefexplanationsofsymbolsorabbreviations,orotherinformationsuchasacompanyname

– ReportFootersection—appearsonceattheendofareportandisusedforreporttotalsandothersummaryinformation

Page 20: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 20

Page 21: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCustomizingExistingReports(Cont.)

NewPerspectivesonMicrosoftAccess2013 21

Page 22: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPDesigningaCustomReport

NewPerspectivesonMicrosoftAccess2013 22

Page 23: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPDesigningaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 23

Page 24: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaQueryforaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 24

Page 25: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaCustomReport

NewPerspectivesonMicrosoftAccess2013 25

Page 26: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 26

Page 27: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXP

SortingandGroupingDatainaReport• Accessletsyouorganizerecordsinareportbysortingthemusingoneormoresortfields– EachsortfieldcanalsobeagroupingfieldwhichcanincludeaGroupHeadersectionandaGroupFootersectionforthegroup

CreatingaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 27

Page 28: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 28

Page 29: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 29

Page 30: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingaCustomReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 30

Page 31: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPWorkingwithControlsinDesignView

NewPerspectivesonMicrosoftAccess2013 31

• DesignviewgivesyougreatercontrolovertheplacementandsizingofcontrolsthanLayoutview– Itletsyouaddandmanipulatemanymorecontrols– Thispowercomesattheexpenseofnotbeingabletoseelivedatainthecontrolstoguideyouasyoumakechanges

Page 32: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPWorkingwithControlsinDesignView(Cont.)

NewPerspectivesonMicrosoftAccess2013 32

Page 33: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPWorkingwithControlsinDesignView(Cont.)

NewPerspectivesonMicrosoftAccess2013 33

Page 34: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPWorkingwithControlsinDesignView(Cont.)

NewPerspectivesonMicrosoftAccess2013 34

AddingLinestoaReport• You’veusedtheLinetooltoaddlinestoaformorareport

Page 35: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPHidingDuplicateValuesinaReport

NewPerspectivesonMicrosoftAccess2013 35

• UsetheHideDuplicatespropertytohideacontrolinareportwhenthecontrol’svalueisthesameasthatoftheprecedingrecordinthegroup

Page 36: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport

NewPerspectivesonMicrosoftAccess2013 36

Page 37: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 37

Page 38: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 38

Page 39: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 39

AddingPageNumberstoaReport• DisplaypagenumbersinareportbyincludinganexpressioninthePageHeaderorPageFootersection

• Theinsertedpagenumberexpressionautomaticallydisplaysthecorrectpagenumberoneachpageofareport

Page 40: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 40

Page 41: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingtheDatetoaReport(Cont.)

NewPerspectivesonMicrosoftAccess2013 41

Page 42: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPAddingaTitletoaReport

NewPerspectivesonMicrosoftAccess2013 42

Page 43: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingMailingLabels

NewPerspectivesonMicrosoftAccess2013 43

• Acustomreportcouldproducemailinglabels,butusingtheLabelWizardiseasierandfasterway– Itprovidestemplatesforhundredsofstandardlabelformats,eachofwhichisuniquelyidentifiedbyalabelmanufacturer’snameandnumber

– Thesetemplatesspecifythedimensionsandarrangementoflabelsoneachpage

– Standardlabelformatscanhavebetweenoneandfivelabelsacrossapage;thenumberoflabelsprintedonasinglepagealsovaries

• MostmailinglabelsaremanufacturedbyAvery

Page 44: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingMailingLabels(Cont.)

NewPerspectivesonMicrosoftAccess2013 44

Page 45: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingMailingLabels(Cont.)

NewPerspectivesonMicrosoftAccess2013 45

Page 46: Tutorial 7 Creating Custom Reportshome.ku.edu.tr › ~mehmetgonen › indr481_fall2015 › indr481... · 2015-11-10 · Objectives XP (Cont.) • Session 7.2 – Design and create

XPXPXPCreatingMailingLabels(Cont.)

NewPerspectivesonMicrosoftAccess2013 46