K
Karen P.
Guest
Hi. I'm fairly novice with Access and feel very fortunate to have found you! I have a report that generates invoices. The report has expressions that add the current yar. I need to change it for this month for invoices due in February (January's went out incorrectly). They are:
1.) =Val(Right$(Year(Now()),4) & Format(Str([Dues Month]),"00"))*1000+[Page]
This is the Invoice number in date form, i.e., 200202001 for first page.
2.) ="PAYMENT DUE ON OR BEFORE " & Str([Dues Month]) & "/1/" & Year(Now())
This should be the due date of 2/1/2003 for February invoices.
3.) =Str([Dues Month]) & "/1/" & Right$(Year(Now()),2) & " - " & DateAdd("d",-1,DateAdd("m",12,DateValue(Str([Dues Month]) & "/1/" & Year(Now()))))
This should be 2/1/03 - 1/31/2004.
Obviously the NOW needs to change but to what? Please advise.
1.) =Val(Right$(Year(Now()),4) & Format(Str([Dues Month]),"00"))*1000+[Page]
This is the Invoice number in date form, i.e., 200202001 for first page.
2.) ="PAYMENT DUE ON OR BEFORE " & Str([Dues Month]) & "/1/" & Year(Now())
This should be the due date of 2/1/2003 for February invoices.
3.) =Str([Dues Month]) & "/1/" & Right$(Year(Now()),2) & " - " & DateAdd("d",-1,DateAdd("m",12,DateValue(Str([Dues Month]) & "/1/" & Year(Now()))))
This should be 2/1/03 - 1/31/2004.
Obviously the NOW needs to change but to what? Please advise.