G
Guest
So I need a calculated field in a query that looks at two dates and depending
on which is later, returns a value of either 0 or the value in another field.
Here's what I have:
Expr2: If([LEASE_START]>DateAdd("m",-11,[
Forms![Month-Year]![Text6]),0,[ABOVE_Line])
LEASE_START and ABOVE_Line are fields in my query.
When I try to run the query I get a "COMP_SALES is not a valid name" error.
Any hints?
on which is later, returns a value of either 0 or the value in another field.
Here's what I have:
Expr2: If([LEASE_START]>DateAdd("m",-11,[
Forms![Month-Year]![Text6]),0,[ABOVE_Line])
LEASE_START and ABOVE_Line are fields in my query.
When I try to run the query I get a "COMP_SALES is not a valid name" error.
Any hints?