I have this piece of code, which up until today was working. However, today the txtJournalBalance does not equal 0, even though it is actually displaying 0.00 on the screen.
If Me!txtJournalBalance <> 0 Then
Me!cmdSubmit.Enabled = False
Else
Me!cmdSubmit.Enabled = True
End If
When I debug the code, the value appears as -7.125e or something like that. The data is coming from this query: Step 95 - qselFinalBalance...which basically calculates two numbers the total amount and number of transactions.
SELECT DISTINCTROW
Count(tblClass.LineNumber) AS CountOfLineNumber,
Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass;
Heeeeeelp
If Me!txtJournalBalance <> 0 Then
Me!cmdSubmit.Enabled = False
Else
Me!cmdSubmit.Enabled = True
End If
When I debug the code, the value appears as -7.125e or something like that. The data is coming from this query: Step 95 - qselFinalBalance...which basically calculates two numbers the total amount and number of transactions.
SELECT DISTINCTROW
Count(tblClass.LineNumber) AS CountOfLineNumber,
Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass;
Heeeeeelp