M
Mary Fran
I think I'm going crazy...
Here are 3 fields from my query and the results of each below - can someone
please explain why TestQuery is evaluating to "true"?
DateAdd("yyyy",[Accrued Years],[Start Date]) AS HireDateCheckPoint,
5/7*[Accrued Days]*8/2080 AS [Partial Accrued Pct],
DLookUp("[Hours Accrued] ","tblAccruedVacationSchedule","[Years of
Service]=" & [Accrued Years]+1) AS HrsFromTable,
IIf(([Partial Accrued Pct]*[HrsFromTable])>[HrsFromTable],"true",[Partial
Accrued Pct]*[HrsFromTable]) AS TestQuery,
Partial Accrued Pct: 0.480769230769231
HrsFromTable: 120 (Long integer)
Here are 3 fields from my query and the results of each below - can someone
please explain why TestQuery is evaluating to "true"?
DateAdd("yyyy",[Accrued Years],[Start Date]) AS HireDateCheckPoint,
5/7*[Accrued Days]*8/2080 AS [Partial Accrued Pct],
DLookUp("[Hours Accrued] ","tblAccruedVacationSchedule","[Years of
Service]=" & [Accrued Years]+1) AS HrsFromTable,
IIf(([Partial Accrued Pct]*[HrsFromTable])>[HrsFromTable],"true",[Partial
Accrued Pct]*[HrsFromTable]) AS TestQuery,
Partial Accrued Pct: 0.480769230769231
HrsFromTable: 120 (Long integer)