I am at a loss.....
I am using an EditForm. On this edit form, I am using a multiselect combo box. This is a none to many relationship between a parent and child(ren). There is a mapping table between them.
My goal is to remove any records on the mapping table that is not longer selected on the combo box. Then patch anything New or inserted.
My thought process is to Run RemoveIf then Patch. However, when I do this nothing works. When I run RemoveIf on its own and Patch on its own the code runs. But one right after another it doesn't work. I tried to add the code in IfError and it appears that runs. However nothing is updated in the database. My RemoveIF checks to select anything not selected in the combo box.
I still can not get this to run correctly one right after another.
I am confused. Any thoughts?
Thanks!