CREATING A PAYROLL LOANS REPORT Course 2011004. P AYROLL L OANS R EPORT Getting started

Preview:

Citation preview

CREATING A PAYROLL LOANS REPORT

Course 2011004

PA

YR

OLL LO

AN

S R

EP

OR

TGetting started

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TGive the report a name

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TStart building the report by clicking on the SQL button

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TNow select Build SQL

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TSelect the tables that you want on the right, and drag them onto the main area

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TLink the location and employee code by clicking on one field, holding down the mouse, and dragging to the matching field

Double click on each link to choose link type

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TChoose extra fields and tables, and any conditions you need on the data. See it build up the expression for you at the bottom

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

T

• Click on File | Exit

• Say Yes, to Paste in SQL

• Click on View SQL

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TWe need to format this information. Look at the dates and the amounts in particular.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

T

• Close the report

• Copy the SQL statement • select • copy it with Ctrl-C• past it into a Word document,

as an insurance in case you stuff up the next step

• Click on Build SQL

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TThis is the data, formatted

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

T

The functions used were:

• Trim to get rid of spaces• AccessDate to format the date properly• CDbl to convert the test number into a number we can manipulate

We also used Alias names to make our data more understandable

We put on conditions:

• Record transaction type not “S” as we don’t want our standard pays showing

• Transaction type not “B” (banking) or “T” (Tax)

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TClick on Save, then on the Fields button

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TDrag and drop your fields onto the detail line

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TChoose the design button, then drag and drop labels above all your columns

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TDouble click on each heading, type in what you want, and then format each heading

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

T

If we want to drill down to the employee masterfile from a gadget, we need to add this to the employee code heading:

Code<Employee=FullCode>

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TClick on the Reports Properties button and select for this to be a Dashboard Gadget. Then OK, Save and close the report.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TSign on to Attaché as Supervisor, click on the My Accounts Tab. Select the yellow screw to choose a gadget.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TSelect the gadget that was just created.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TType in a caption, save, then close the gadget properties box.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TType in a caption, save, then close the gadget properties box.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

TRight click on the gadget bar, and select Full Screen View.

PA

YR

OLL C

OS

T C

EN

TR

E R

EP

OR

T

Not so hard to do after all!