J
Joe
Hi
The following query is throwing the error message that
"I have written a query that can return more than one field without
using the EXISTS reserve word in the queries main FROM clause. Revise
the Select statement of the subqueries FROM clause to request only one
field."
My query is looking to compare 2 values from 2 different tables and
update one table with the corresponding value.
Can anyone help? I am going blind. Thanks!
UPDATE [Job Inventory]
SET [Job Inventory].Quantity_Inve = (SELECT Physical_Job_Number_To,
Part_Number FROM [Temporary Transactions]
WHERE [Job Inventory].SF_Job_Number=[Temporary Transactions]!
Physical_Job_Number_To And [Job Inventory].Part_Number = [Temporary
Transactions]!Part_Number)
WHERE EXISTS (SELECT Physical_Job_Number_To, Part_Number FROM
[Temporary Transactions]
WHERE [Job Inventory].SF_Job_Number=[Temporary Transactions]!
Physical_Job_Number_To And [Job Inventory].Part_Number = [Temporary
Transactions]!Part_Number);
The following query is throwing the error message that
"I have written a query that can return more than one field without
using the EXISTS reserve word in the queries main FROM clause. Revise
the Select statement of the subqueries FROM clause to request only one
field."
My query is looking to compare 2 values from 2 different tables and
update one table with the corresponding value.
Can anyone help? I am going blind. Thanks!
UPDATE [Job Inventory]
SET [Job Inventory].Quantity_Inve = (SELECT Physical_Job_Number_To,
Part_Number FROM [Temporary Transactions]
WHERE [Job Inventory].SF_Job_Number=[Temporary Transactions]!
Physical_Job_Number_To And [Job Inventory].Part_Number = [Temporary
Transactions]!Part_Number)
WHERE EXISTS (SELECT Physical_Job_Number_To, Part_Number FROM
[Temporary Transactions]
WHERE [Job Inventory].SF_Job_Number=[Temporary Transactions]!
Physical_Job_Number_To And [Job Inventory].Part_Number = [Temporary
Transactions]!Part_Number);