Hi, I was wondering if there's an easier way to get a week range than what I'm currently using. Right now I use something along these lines, where drequest is the date
Format([drequest],"yyyy") & IIf(Format([drequest],"ww")<10,"0 " & Format([drequest],"ww"),Forma t([drequest],"ww"))
this would be an example criteria for it to find out all dates between weeks 7 and 35
between 200607 and 200635
The biggest problem I have with this is if I just do
Format([drequest],"yyyyww")
any week before the 10th week wont put a 0 in front of it and then you end up with numbers like 20067.
Anyway, just wondering if there's an easier way.
Format([drequest],"yyyy") & IIf(Format([drequest],"ww")<10,"0 " & Format([drequest],"ww"),Forma t([drequest],"ww"))
this would be an example criteria for it to find out all dates between weeks 7 and 35
between 200607 and 200635
The biggest problem I have with this is if I just do
Format([drequest],"yyyyww")
any week before the 10th week wont put a 0 in front of it and then you end up with numbers like 20067.
Anyway, just wondering if there's an easier way.
Comment