Form is for Editing a Matter
The form's Default mode is edit. The Forms Item property is set to the Selected Gallery Item...GalMatters.Selected
There are a serires of datacards that are foreign keys in a table
Here is an example of one of the Data Cards.
This is for Probation Officers
The DataCard field is a foreign key in the form's table...tblMtr. The field is MtrPro1
The DataCardValue's Default Value is set to a combo box selected item.....cmboMtrEditPro.Selected.ProID
The ComboBox Default selected items is set to the DataCard fields value Filter('[dbo].[tblPro]',proID = MtrPro1)
Accordingly, When Someone selects a matter in the GalMatter Gallery the Edit form populates the combo boxes with the record corresponding with the foreign key.
All well and good. The rub is when you want to change the selection from Probation officer Joe Smith to Jane Doe. When you submit the form the Default for the DataCard goes back to the DefaultSelectedItems.
Its essentially circular. Is there a method for the OnChange event that would clear the DefaultSelectedItems for the combo box.