G
Guest
Hi I have a query in Access 2003 that I am working on that is designed to
bring up all records between week 1 and a user entered paramater week"
between 1 and [please enter end week]".
Week is derived by usings the following statment in design view of Access's
query builder in a blank field of the above query" week:
datepart("ww",[rptDate])".
Unfortunatly it looks like the returned value is is string or variant format
as when I run it between between 1 and 8 it bring up weeks like 34, 44 in
addition to what I was looking for.
I since have created a table from a make table query in which the "week"
field is now of number data type, ran the above query on it and it works
great, only pulling the info I need from the range.
I then change the week formula to the following on the original query "
Cdbl(datepart("ww",[rptdate])" thinking that would help. Unfortunatly it
still acts like a string.
Any suggestions would be awesome as I am out of Ideas at this point.
bring up all records between week 1 and a user entered paramater week"
between 1 and [please enter end week]".
Week is derived by usings the following statment in design view of Access's
query builder in a blank field of the above query" week:
datepart("ww",[rptDate])".
Unfortunatly it looks like the returned value is is string or variant format
as when I run it between between 1 and 8 it bring up weeks like 34, 44 in
addition to what I was looking for.
I since have created a table from a make table query in which the "week"
field is now of number data type, ran the above query on it and it works
great, only pulling the info I need from the range.
I then change the week formula to the following on the original query "
Cdbl(datepart("ww",[rptdate])" thinking that would help. Unfortunatly it
still acts like a string.
Any suggestions would be awesome as I am out of Ideas at this point.