Filter Calculated Query Field

Jaye7

Registered User.
Local time
Tomorrow, 05:57
Joined
Aug 19, 2014
Messages
205
So I have the following query field which calculates another field.

How do I Filter the records in this calculated field to only return TRUE, as if I put "TRUE" in the Criteria for this field (or anything at all) then a parameter message box pops up asking for [Balance].

Code:
Balance1: IIf([Balance]<>0,"TRUE","FALSE")
 
Tha means tat "Balance" is not a (bound) column in your query.
 
No, balance is a calculated field
 
Filter the calculation, not the resultant column name. To filter the [Calculation], filter the query where [Calculation] is calculated.
 
Tried that also and same result, it still shows 0 values.
 
You can't use a calculated field in a new column in a query in which the calculated field is defined.
 
OK, thanks for your help, much appreciated
 
Do yourself a favour and actually read what I wrote about comparing Single/double variables as the last post on your previous thread on this subject.
 

Users who are viewing this thread

Back
Top Bottom