I have a production form that I enter data into daily. On this form, I have a combobox that autopopulates a lot of the fields. I have also designed a command button for each material used that I can click and update some of my receiving of materials tables.
I will click this command button when a certain material's lot code (based on earliest date received) is completed. This query does an update to the receiving table and knows to go to the next lot code of the material for next use.
When I do this on the form and go to the table, the table is updated correctly. If I then close the form, and reopen it, the selected material shows the new "updated lot code"
All of it works fine and update. The problem is when I open the form and enter data in to it, I "go to next record" when I enter in one product's info and materials used. If I click the Completed Lot Code button, the query runs. When I go to next record, the form doesn't open and close. If I need to use the same material that was selected in the previous record, the old lot code that should be completed comes up.
It is like everything updates, but in order for the form to register the update, I have to close and open it back up.
Does anyone know how I can avoid this or "refresh the form"?
THANKS!
I will click this command button when a certain material's lot code (based on earliest date received) is completed. This query does an update to the receiving table and knows to go to the next lot code of the material for next use.
When I do this on the form and go to the table, the table is updated correctly. If I then close the form, and reopen it, the selected material shows the new "updated lot code"
All of it works fine and update. The problem is when I open the form and enter data in to it, I "go to next record" when I enter in one product's info and materials used. If I click the Completed Lot Code button, the query runs. When I go to next record, the form doesn't open and close. If I need to use the same material that was selected in the previous record, the old lot code that should be completed comes up.
It is like everything updates, but in order for the form to register the update, I have to close and open it back up.
Does anyone know how I can avoid this or "refresh the form"?
THANKS!