J
John S. Ford, MD
I've created a query using a SQL statement that draws a number of fields
from different tables (tblA.Field1, tblB.Field2, tblC.Field3, etc. I've
also created an additional (calculated) field using the following in the
query's Select statement:
Funtion(tblD.Field4) AS CalculatedField
The problem is, SQL doesn't recognize this new field when I include it in
the WHERE statement:
WHERE CalculatedField=True
So is it true that you can't use a field in the WHERE statement if it was
created in the same SQL code? Is there a way of getting around this?
John
from different tables (tblA.Field1, tblB.Field2, tblC.Field3, etc. I've
also created an additional (calculated) field using the following in the
query's Select statement:
Funtion(tblD.Field4) AS CalculatedField
The problem is, SQL doesn't recognize this new field when I include it in
the WHERE statement:
WHERE CalculatedField=True
So is it true that you can't use a field in the WHERE statement if it was
created in the same SQL code? Is there a way of getting around this?
John