I'm trying to find out the due date for members in my database. I have two due dates. The first due date is June first for those members that joined before 1/1/02. Our renewal cycle changed after 1/1/02 to an annual due date based on the month they joined. So if a member joined in feb 2002 then their due date this year would be feb 2005.
Below is what I've been working with in my query.
DueDate: IIf([Membership]<#1/1/2002#,DateSerial(Year(Date()),6,1),DateAdd('yyyy',1,[Membership]))
What this seems to do is add a year to their join date.
But if the join date is feb. 2002 then the renwal date is Feb 2003, what I need to see is Feb 2005 since Feb 2003 and 2004 are past. I'm having a hard time tweaking this iff statement. This is the first time I'm using DateSerial so I don't know much about it.
Any help would be great.
Below is what I've been working with in my query.
DueDate: IIf([Membership]<#1/1/2002#,DateSerial(Year(Date()),6,1),DateAdd('yyyy',1,[Membership]))
What this seems to do is add a year to their join date.
But if the join date is feb. 2002 then the renwal date is Feb 2003, what I need to see is Feb 2005 since Feb 2003 and 2004 are past. I'm having a hard time tweaking this iff statement. This is the first time I'm using DateSerial so I don't know much about it.
Any help would be great.