marku24
asked on
Formatting da6e as week # in access query
I would like to format a week in an access query to show the week #. Does anyone know the proper format?
ASKER
I got that to work in the query but it is formatting as a date:
33/_/_ How do i get it to format as a number. the column format option has nothing in there so i can't select "number".
33/_/_ How do i get it to format as a number. the column format option has nothing in there so i can't select "number".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you're trying to convert the 33 week...
CInt(anything) converts to a small integer, which is +/- 32,000-ish.
CByte(anything) converts to a byte, which is 0 to 255.
CInt(anything) converts to a small integer, which is +/- 32,000-ish.
CByte(anything) converts to a byte, which is 0 to 255.
Thanks for the greade. Good luck with your project. -Jim
33
As apparently we're in the 33rd week of the year.
BUT ... this is calendar week, so if you have a different definition of week number, you'll need to spell that out.