WEEKNUM function problem

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Anyone know why WEEKNUM function does not work on date
field when YEAR,Month,Day,WeekDay etc. work on the same
field?? Error msg says "undefined function in
expression". MSOWCF.DLL is present. Using Access 2000.
 
Anyone know why WEEKNUM function does not work on date
field when YEAR,Month,Day,WeekDay etc. work on the same
field?? Error msg says "undefined function in
expression". MSOWCF.DLL is present. Using Access 2000.

Probably because WeekNum is not an Access function.
If you wish the week number use:
=DatePart("ww",[DateField])
 
Anyone know why WEEKNUM function does not work on date
field when YEAR,Month,Day,WeekDay etc. work on the same
field?? Error msg says "undefined function in
expression". MSOWCF.DLL is present. Using Access 2000.

Probably because a "Weeknum()" function doesn't exist in Access 2000. To derive
the week number, try:

VBA.Format(date(),"ww")
 
Because WeekNum is not an Access VBA function. Try using the DatePart function.

DatePart("ww",SomeDate)
 
Probably because a "Weeknum()" function doesn't exist in Access 2000. To
derive
the week number, try:

VBA.Format(date(),"ww")

Oh yeah ... and the "DatePart()" function works good too! <BG>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

weeknum function 1
WeekNum Trouble 4
NETWORKDAYS 1
How to enable the function WeekNum for Excel 2003? 1
Inverse to WEEKNUM 8
Week number in a year 2
Weeknum 4
Fn WEEKNUM doesn/t appear in my function list ? 1

Back
Top