please see example code
when I click close button from second combo or change to other tab page I get 3201 error. I do have Referential Integrity on, but need to get rid of the error.
Can anyone shed some light on this?
Your are getting the error because you are entering data into the Charge-type-id using the combo box, then your code saves the record and there is not record in the driverid.
If you look at your table job-charges you will see that you have driver_id set to Required = Yes.
This is what is causing the problem: (why do you need to save the record after this combo updates?)