Cannot save value to dataset

I managed to get this working. I had to move the set field to the
dataset2_itemValuesChanged function/event