Good afternoon
Ive come up against a query I need to add into a current table so that when data is added week on week I can show a column that will identify the last 5 weeks continually no matter what week of the year it is.
I have tried using the Calculated field in my table calling it week count, but am getting stuck.
I had something in mind of
I get an error "cannot be used in a calculated column, is there away round this?
thanks in advance
Gavin
Ive come up against a query I need to add into a current table so that when data is added week on week I can show a column that will identify the last 5 weeks continually no matter what week of the year it is.
I have tried using the Calculated field in my table calling it week count, but am getting stuck.
I had something in mind of
Code:
IIf([Week]<=(DatePart("w",Now()-5),5,0)))
I get an error "cannot be used in a calculated column, is there away round this?
thanks in advance
Gavin