Page 141 - AIS access_chang_ingraham
P. 141
HUMAN RESOURCE PROCESS OVERVIEW 139
5. Click on the Field property in the seventh column of the design grid and click
on the Build ~:::' icon in the menu bar. Type HOvertimePay: 1.5* [HPayRate]*
[OvertimeHours] in the upper portion of the Expression Builder window. Click OK.
Expression Builder 121~
.-
HOvertimePay: lS'[HPayRate]'"[OvertimeHours] I OK ]
Cancel I
Undo I
I I
+ - { *I~ =: > < <>1 And Or Not ukel..uJ Paste Help
~p'loveeNo
.BlGross Pay Hourly QU~ A <Value>
.l±:J Tables PPEnded
HPayRate I
l±:J Queries
RegularTimeHours
l±:J Forms OvertimeHours , !
-
l±:J Reports HRegularPay
.l±:J Functions HOvertimePay I
Salary
LJ Constants
--' GrossPay
LJ Operators
LJ Common ExpresSion{~ I
..-J
FIGURE 6-22
6. Before we can calculate the gross pay field, we need to create a field that will hold
the place for the gross pay for salaried employees. Click on the Field property in the eighth
column of the design grid. Type Salary: 0 in the Field property. This results in creating a
column with the field name "Salary" that is a place holder in this query so that we can join
\ the salaried gross pay data later.
7. Click on the Field property in the ninth column of the design grid and click on the
Build~:. icon in the menu bar. Type GrossPay: [HRegularPay] + [HOvertimePay] +
[Salary] in the upper portion of the Expression Builder window. Click OK.
!:P~ : SoIoct Cll*Y - 't-.JQ&i1
V£mplOYMT... ,tt
-
F:' - ~
....,....
~
~ ·SPr,R.M.t
,Emp6oyt.5Ulrt.C:
........._ ...... v
OwftlItilHoufs r.r
,('ij
........ . ...... .
FWd: Em Hours Worted TIbII , .T_ --. ,{ H~tf':.l.5'· salary: 0 Ill"
11*: ~rsWorttd TM:M How'swa.tbd Tabit HOl.ItsWortadT.* ~
"'"
so- v
Oto<Io, i I - I -t - I I ,
~ 1;<1-1 J ~v
FIGURE 6-23
8. Click on the Run icon. Close and save the query as Gross Pay Hourly Query.
"

