>>>
this.oBeneficiary.NewRow(dsBeneficiary, this.oBeneficiary.TableName);
>>>
>>The problem is definitely that the NewRow call is not populating BeneficiaryPK with a default value (I have looked at another place I do this same type of thing and the Primary Key is definitely populated by this call). But why would this happen if I have the default specified? I can't seem to step into the code for oBeneficiary.NewRow.
>
>Make sure you have checked the Debug Exceptions options in the debug menu.
Thanks I had already sorted out what the problem was.