I am trying to complete a calculation to keep track of stock in a yard, If Stock is purchased it gets added to quantity in stock if ordered it gets removed from quantity in stock
Briefly In After Update of [Purchase_quantity] field I tried the following code. IIf ([Supplier_Name]="Yard" and [Product_Name]=[Stock_Name], [Stock_Quantity] =[Stock_Quantity]+[Purchase_Quantity] Where [Supplier_name] = [Yard_Name] But no suuccess so obviously in wrong place or incorrect code. Can anyone help Please!!!!
Briefly In After Update of [Purchase_quantity] field I tried the following code. IIf ([Supplier_Name]="Yard" and [Product_Name]=[Stock_Name], [Stock_Quantity] =[Stock_Quantity]+[Purchase_Quantity] Where [Supplier_name] = [Yard_Name] But no suuccess so obviously in wrong place or incorrect code. Can anyone help Please!!!!