peter@cadogan.freeserve.co.uk wrote in message news:<1110541792.254241.311550@o13g2000cwo.googleg roups.com>...[color=blue]
> I have created a MS Access query where one of the fields displays the
> week number. The field is a date value that uses the ww format to
> display the week number. However, when I try to create a calculation
> such as [Week_number]*2 I get an incorrect value. For example, if the
> week number is 11 and I multiply it by 2 I get an answer of 21. How do
> I convert the displayed week number into an integer value so that I can
> then perform a calculation on it?[/color]
Hallo, Peter,
just have a look into this user group with "DatePart Bug in Access
2K?".
I calculated Mult2: datePart("ww";[week]*2)
and got a calculable value. But don't trust the weeknumbers around
week 52, there was a bug reported since around seven years, I guess...
Or is it really fixed?
Success
Helmut