N
NeoFax
I am getting an error with the below DSUM expression:
LeadHours:
IIf([helo#]<41200,nz(DSum("HOURS","tblUnitHours","[STATION]='" &
[STATION] & "' [LongNose]='S'"),
0),nz(DSum("HOURS","tblUnitHours","[STATION]='" & [STATION] &
"' [LongNose]='L'"),0))
It has to do with the quotations around the S and L. Should they be
single or double quotes? Thanks!
Terry
LeadHours:
IIf([helo#]<41200,nz(DSum("HOURS","tblUnitHours","[STATION]='" &
[STATION] & "' [LongNose]='S'"),
0),nz(DSum("HOURS","tblUnitHours","[STATION]='" & [STATION] &
"' [LongNose]='L'"),0))
It has to do with the quotations around the S and L. Should they be
single or double quotes? Thanks!
Terry