UActive = Val(Nz(DSum("ST", "qrySELUpgradeBonus", "BuildID=forms!frmBuildsNew!BuildID and StartTime > '" & Eupgrade & "'"
)) - Val(Nz((DSum("ET", "qrySELUpgradeBonus", "BuildID=forms!frmBuildsNew!BuildID and StartTime > '" & Eupgrade & "' and ActivityID='06'"
))) * 60
Can anyone help me resolve this error. I've spent a good couple hours trying to figure out why I get a data type mismatch for this and no clue. Seems to make perfect sense to me, what am I missing?
dim Uactive as double
dim Eupgrade as double
Eupgrade= 8.5
ST is stored in fixed decimal format as is
ET and
StartTime
Can anyone help me resolve this error. I've spent a good couple hours trying to figure out why I get a data type mismatch for this and no clue. Seems to make perfect sense to me, what am I missing?
dim Uactive as double
dim Eupgrade as double
Eupgrade= 8.5
ST is stored in fixed decimal format as is
ET and
StartTime