I have taken on a database and am not sure what bits of it do.
This expression is within a query called "hours paid" used to generate a payroll report.
StartTime = short time value ie 12:00
ActualStartTime = short time value
EndTime = short time value
Duration Hours = Numeric value ie 1 or 2 etc not time values
Duration Minutes = Numeric value ie 1 or 2 etc not time values
I cannot figure out what is happening as this report is suppose to work out which is the greater value of either booked time which is the total of [StartTime]+[Duration Hours]+[Duration minutes] or actaul time which is the difference between [AcctualStartTim e] and [EndTime].
Any hints on what is actually happening would be greatly appreciated!
Thanks in advance
Carl
This expression is within a query called "hours paid" used to generate a payroll report.
Code:
TotalNumberOfHours: hourspaid([StartTime],[AcctualStartTime],[EndTime],[Duration Hours],[Duration minutes])
ActualStartTime = short time value
EndTime = short time value
Duration Hours = Numeric value ie 1 or 2 etc not time values
Duration Minutes = Numeric value ie 1 or 2 etc not time values
I cannot figure out what is happening as this report is suppose to work out which is the greater value of either booked time which is the total of [StartTime]+[Duration Hours]+[Duration minutes] or actaul time which is the difference between [AcctualStartTim e] and [EndTime].
Any hints on what is actually happening would be greatly appreciated!
Thanks in advance
Carl
Comment