Hi! I have a little VBA-line that needs a bit of changing.
It is part of a bigger procedure that calculates how many boats a company has on their docks.
With this code though, I would have to manually go in and change the date every year.
It should preferabelly be counting from the date April 1st on the current year.
Like #01-04# + Format(Date, "yyyy\") or something (I know this was way off, but you might see what I'm trying to do)
Help greatly appreciated 
edit:
This is the part that needs changing to April 1st, current year instead of 2009: #01-04-2009#
It is part of a bigger procedure that calculates how many boats a company has on their docks.
With this code though, I would have to manually go in and change the date every year.
It should preferabelly be counting from the date April 1st on the current year.
Like #01-04# + Format(Date, "yyyy\") or something (I know this was way off, but you might see what I'm trying to do)

Code:
Ut_telleverk = Ut_telleverk + DCount("[Medlemsnr2]", "bestilling_ut", "Nz([Medlemsnr2]) <> chr(48) AND Nz([Dato]) >= #01-04-2009# AND Nz([Dato]) <= Date()")

edit:
This is the part that needs changing to April 1st, current year instead of 2009: #01-04-2009#