I have a table of ActionTask records and I want to select all those that have matterId = to the MatterId on a form and the Status = 'Active' and the completed field is false
The code I have written select the right records but doesn't update the required fields
Has anyone any idea why the selection criteria is working but not the update.
A thank you in anticipation
The code I have written select the right records but doesn't update the required fields
Code:
UPDATE ActionTasks SET ActionTasks.Status = 'Cancelled', ActionTasks.StatusDate = Date(), ActionTasks.StatusReason = 'Not Req. DD Sched'
WHERE (((ActionTasks.Status)='Active') AND ((ActionTasks.MatterId)=[Forms]![MattersFileFrm]![MatterIdFld]) AND ((ActionTasks.Completed)=False));
Has anyone any idea why the selection criteria is working but not the update.
A thank you in anticipation