aron.ridgway
Registered User.
- Local time
- Today, 19:05
- Joined
- Apr 1, 2014
- Messages
- 148
Hi, I need to loop through and edit a subform.
The subform is for receiving an order, i want to run a receive all with a button click. So i have a query that works out what is remaining, i then want to update the qty in the subform with the remaining qty.
I have tried several ways with no joy, i need it to find the receivedetailPK in a temp table that stores the latest qty.
So it will loop through the subform, find the related remaining qty in the table and update the qty in the subform and then move to the next record.
I have tried an update query using the ReceiveDetailPK as a criteria, which works but only works on the 1st line.
any help would be great!
The subform is for receiving an order, i want to run a receive all with a button click. So i have a query that works out what is remaining, i then want to update the qty in the subform with the remaining qty.
I have tried several ways with no joy, i need it to find the receivedetailPK in a temp table that stores the latest qty.
So it will loop through the subform, find the related remaining qty in the table and update the qty in the subform and then move to the next record.
I have tried an update query using the ReceiveDetailPK as a criteria, which works but only works on the 1st line.
any help would be great!