My dear friends at the tek-tip forum,
I have been trying to create a query that lists records that have one date date2 two month after another date date1. When I entered the following criteria line into the date2 field in my query: DateAdd("m", 2, [date1]) and tried to execute the query, the following message appeared:
You tried to execute a query that doe not include a specified expression date2=DateAdd("m", 2, [date1]) as part of an aggregate function. The fields in my query have group by in the total row and one field as sum, but I could probably remove that because I sum this field in the report footer...Can I change the query somehow to enable the DateAdd part?
Thanks.
Maddi
I have been trying to create a query that lists records that have one date date2 two month after another date date1. When I entered the following criteria line into the date2 field in my query: DateAdd("m", 2, [date1]) and tried to execute the query, the following message appeared:
You tried to execute a query that doe not include a specified expression date2=DateAdd("m", 2, [date1]) as part of an aggregate function. The fields in my query have group by in the total row and one field as sum, but I could probably remove that because I sum this field in the report footer...Can I change the query somehow to enable the DateAdd part?
Thanks.
Maddi