I have a table called Calls which has several fields, among them one called CallID and another one called IssueType.
Then, there is another table called ReturnInfo with several fields, one also called CallID and another one called Warranty.
I need to come up with an Update query that finds all the CallID with an IssueType of "9" in the table Calls and then use that info to update the warranty field to "1" in the ReturnInfo table with the same CallID.
If the fields were in the same table then I would use an Update query like this one:
How do I do the same thing when the info is on separate tables?
Mafhobb
Then, there is another table called ReturnInfo with several fields, one also called CallID and another one called Warranty.
I need to come up with an Update query that finds all the CallID with an IssueType of "9" in the table Calls and then use that info to update the warranty field to "1" in the ReturnInfo table with the same CallID.
If the fields were in the same table then I would use an Update query like this one:
Code:
CurrentDb.Execute _
"UPDATE ReturnInfo " & _
"SET Warranty = 1 " & _
"WHERE IssueType = 9", dbFailOnError
How do I do the same thing when the info is on separate tables?
Mafhobb