Hello,
Two tables; controlNum and requisiteInfo.
ControlNum table is pre-populated based on numbers given by a third party. When requisiteInfo form is filled in and saved, I need to pull the next unused (controlnum.assigned is not true) control number from the controlnum table and assign it to the controlnum field in the requisiteInfo table. I also need to update a flag (controlnum.assigned) in the controlnum table for the appropriate record, and allow the user to confirm the control number assignment.
I am used to writing sql statements but an having a hard time getting my head around the recordset syntax in the save button click event.