melaniecarr23
Programmer
I have a table named PLANS
In this table, there are some blank fields which need to be filled with an update query since they are based on calculations.
One of the fields is this:
plan_wks: DateDiff("ww",[start_date],[end_date])
When I run a select query with the calculation fields, it returns the correct values. However, when I change it to an update query, I get the following error:
'DateDiff("ww",[start_date],[end_date])' is not a valid name. Make sure that it does not include invalid characters or puctuation and that it is not too long.
WHY is this not working in the update query - it's driving me absolutely bonkers!
Thanks,
Melanie
In this table, there are some blank fields which need to be filled with an update query since they are based on calculations.
One of the fields is this:
plan_wks: DateDiff("ww",[start_date],[end_date])
When I run a select query with the calculation fields, it returns the correct values. However, when I change it to an update query, I get the following error:
'DateDiff("ww",[start_date],[end_date])' is not a valid name. Make sure that it does not include invalid characters or puctuation and that it is not too long.
WHY is this not working in the update query - it's driving me absolutely bonkers!
Thanks,
Melanie