The following statement is what I have in an IF statment in my query. This exact statement is also a form - where it works perfectly. In the query, it just gives me an #Error in the field.
RnwlDate: IIf([FeeScheduleID]="9",[RegistrationDate],IIf([FeeScheduleID]="10",[RegistrationDate]+[AddDays],DateAdd("ww",[MembershipLength],[RegistrationDate])+[AddDays]))
When I add the following to the criteria, it tells me that it's too complex
Between [forms]![Membership Expirey Form].[StartRegistrationDate] And [forms]![Membership Expirey Form].[EndRegistrationDate]
The query is also pulling the Fee Description (ex. Drop In) as opposed to the actual ID (ex 9).
FeeScheduleID is the FK in the Registration Table
FeeScheduleID is the PK in the Fee Schedule Table