Write the values of all data controls on the form to a dictionary, indexed by the control name
The target form.
The dictionary that values will be read from.
Use the ControlSource property rather than the control name as the dictionary key.
xf.Controls.ReadAllFormControlValsFromDictionary Me, dict