In a recordset, I am totaling numbers:
NewFBal = 0
Select Case BHCFXind
Case True
NewFBal = BHCFX
If BBHFXind = True Then
NewFBal = (NewFBal - BBHFX)
If NewFBal = 0 Then
ReconStat = "Balanced"
DoCmd.RunSQL "INSERT INTO TblInput...
End if
End if
End Select
The numbers I am subtracting are equal (BOTH = 296697.67), so the net should be zero. Access says the NewFBal is
"-3...12-E"
{??The datatype for these numbers is Double, as that is the only way I can account for the potential 5 decimals??}
NewFBal = 0
Select Case BHCFXind
Case True
NewFBal = BHCFX
If BBHFXind = True Then
NewFBal = (NewFBal - BBHFX)
If NewFBal = 0 Then
ReconStat = "Balanced"
DoCmd.RunSQL "INSERT INTO TblInput...
End if
End if
End Select
The numbers I am subtracting are equal (BOTH = 296697.67), so the net should be zero. Access says the NewFBal is
"-3...12-E"
{??The datatype for these numbers is Double, as that is the only way I can account for the potential 5 decimals??}