I am trying to create a calculated field in my table, I am trying to use the following code:
DatePart("ww",[Gas]![Date Opened])
I receive the following error message: "The expression DatePart("ww",[Gas]![Date Opened]) cannot be used in a calculated column."
Please let me know what I am doing wrong in Access 2007 as I really need to be able to display the week number in the table, based on the Date Opened field.
DatePart("ww",[Gas]![Date Opened])
I receive the following error message: "The expression DatePart("ww",[Gas]![Date Opened]) cannot be used in a calculated column."
Please let me know what I am doing wrong in Access 2007 as I really need to be able to display the week number in the table, based on the Date Opened field.