A
Alex Hammerstein
Hi,
I am slowly driving myself crazy...
I am trying to assertain the sum of the weeks that our students have been on
a course between 01/Aug/2007 and 31/Jul/2008
I have tried to breakdown the various lines as follows:
Weeks:
Sum
Iif [Date Started] < #01/08/07#
Iif [Date left] > #31/07/08#
DateDiff (³ww²,#01/08/07#,#31/07/08#)
Iif [Date Left] Between #01/08/07# And #31/07/08],
DateDiff(³ww²,#01/08/07#,[Date Left])
Iif [Date Started] Between #01/08/07# And #31/07/08#
Iif (IsNull([Date Left])
DateDiff(³ww², [Date Started],#31/07/08#
Iif [Date Left] Between #01/08/07# And #31/07/08],
DateDiff(³ww,[Date Started],[Date Left])
Can someone advise me my logic above is correct and also how do I work out
where all the brackets have to go.
V many thanks
Alex
I am slowly driving myself crazy...
I am trying to assertain the sum of the weeks that our students have been on
a course between 01/Aug/2007 and 31/Jul/2008
I have tried to breakdown the various lines as follows:
Weeks:
Sum
Iif [Date Started] < #01/08/07#
Iif [Date left] > #31/07/08#
DateDiff (³ww²,#01/08/07#,#31/07/08#)
Iif [Date Left] Between #01/08/07# And #31/07/08],
DateDiff(³ww²,#01/08/07#,[Date Left])
Iif [Date Started] Between #01/08/07# And #31/07/08#
Iif (IsNull([Date Left])
DateDiff(³ww², [Date Started],#31/07/08#
Iif [Date Left] Between #01/08/07# And #31/07/08],
DateDiff(³ww,[Date Started],[Date Left])
Can someone advise me my logic above is correct and also how do I work out
where all the brackets have to go.
V many thanks
Alex