Ritesh_Mistry
asked on
Format of week column - converted from date column
Dear experts,
I have converted a date column in access to week using the following:
Week: Format([TblALC]![Date],"ww ")
The problem I have is that after the conversion the returned column is a "text" column not a "number" column. this means when i compare it to tables setup already with the week number in as a "number" format i get a data type mismatch error.
Is there any way to solve this problem.
Regards
Ritesh
I have converted a date column in access to week using the following:
Week: Format([TblALC]![Date],"ww
The problem I have is that after the conversion the returned column is a "text" column not a "number" column. this means when i compare it to tables setup already with the week number in as a "number" format i get a data type mismatch error.
Is there any way to solve this problem.
Regards
Ritesh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks worked great, sorry for late reply.
Glad to be of assistance.
AW
AW
or
week:Datepart("ww",[TblALC