mohammadagul
PrinceAtif
- Local time
- Today, 19:59
- Joined
- Mar 14, 2004
- Messages
- 298
Evening All,
I have this problem in my update query. I would try to be as simple as possible.
I have two tables
Table 1 : tblProductSub
ProductID
ProductName
SerialNo
Description
Reorderlevel
Table2 : tblSupplierSubInvoice
ProductID
ProductName
SerialNo
Description
Reorderlevel
I have created an update query which takes the values from tblsupplierSubInvoice into tblProductSub
In the initial steps when I try to run the query all the data is perfectly transferred. But when I create a new Supplier Invoice and try to update the ?tblProductsSub? table it actually take the last entry made and update all the values to that value. Where as it should only add the new entry and leave the rest of the entries as they were.
I am herewith attaching the database. Please let me know as what am I doing wrong here.
Try adding a new Supplier Invoice and then running the update query. You will see that I will update all the records to the last record.
Thanks
I have this problem in my update query. I would try to be as simple as possible.
I have two tables
Table 1 : tblProductSub
ProductID
ProductName
SerialNo
Description
Reorderlevel
Table2 : tblSupplierSubInvoice
ProductID
ProductName
SerialNo
Description
Reorderlevel
I have created an update query which takes the values from tblsupplierSubInvoice into tblProductSub
In the initial steps when I try to run the query all the data is perfectly transferred. But when I create a new Supplier Invoice and try to update the ?tblProductsSub? table it actually take the last entry made and update all the values to that value. Where as it should only add the new entry and leave the rest of the entries as they were.
I am herewith attaching the database. Please let me know as what am I doing wrong here.
Try adding a new Supplier Invoice and then running the update query. You will see that I will update all the records to the last record.
Thanks