accessgoat
Programmer
Hi
I have 3 tables linked by ID. I need to update Table 3 with the calculated value from Table 2. When I run the query though it asks me to enter parameter value for the fields in Table 2. This is my query:
UPDATE tbl3 SET tbl3.[Ab1Days] = ((tbl2.SurgStDt)-(tbl2.Ab1Dt))
WHERE (tbl2.SurgStDt Is Not Null And tbl2.Abx1Dt Is Not Null);
The fields SurgStDt and Abx1Dt are stored in table 2 only. I need to update the field Ab1Days in Table 3. Can anyone suggest a way?
Thanks
accessgoat
I have 3 tables linked by ID. I need to update Table 3 with the calculated value from Table 2. When I run the query though it asks me to enter parameter value for the fields in Table 2. This is my query:
UPDATE tbl3 SET tbl3.[Ab1Days] = ((tbl2.SurgStDt)-(tbl2.Ab1Dt))
WHERE (tbl2.SurgStDt Is Not Null And tbl2.Abx1Dt Is Not Null);
The fields SurgStDt and Abx1Dt are stored in table 2 only. I need to update the field Ab1Days in Table 3. Can anyone suggest a way?
Thanks
accessgoat