I am trying to retrieve records that have an End Date - which is calculated: EndDate: DateAdd("m",[Duration],[Start_Date]) with the criterion of <[Forms]![frmRequest]![Proposed_Start_Date].
I get the error message:
"The expression is typed incorrectly, or is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables."
Code:
SELECT ActiveTeamRoster.ID, [Last Name] & ", " & [First Name] AS Resource, ActiveTeamRoster.Role, DateAdd("m",[Duration],[Start_Date]) AS EndDate
FROM Assignment INNER JOIN ActiveTeamRoster ON Assignment.ID = ActiveTeamRoster.ID
WHERE (((DateAdd("m",[Duration],[Start_Date]))<[Forms]![frmRequest]![Proposed_Start_Date]));
Can someone please help me?
veejay