Actually you can do it using DMAX :p
next_number = "V " & Format(Date, "yyww dd ") & Format(IIf(IsNull(DMax("right([MyNumber],3)", "Table1", "left([Mynumber],9)=""V " & Format(Date, "yyww dd") & """")), 0, DMax("right([MyNumber],3)", "Table1", "left([Mynumber],9)=""V " & Format(Date, "yyww dd")...