A
A.M
Hi,
I have two BindingSource(s) in my form, one for parent and one for child
area.
The unique situation in my form is that the child area chooses its parent by
a ComboBox.
The problem is when I use AndNew method in the child BindingSource, I cannot
choose the parent record through the combobox and parentDataSource.Position.
The parent BindingSource complains about [Not Null] columns and throws
exception.
This doesn't make any sense to me. I shouldn't have to use
DataSet.EnforceConstraints because I do not have any NULL value at that
specific parent record and position!
I am sure that I am missing an important points, what is it?
Any help would be appreciated,
Alan
I have two BindingSource(s) in my form, one for parent and one for child
area.
The unique situation in my form is that the child area chooses its parent by
a ComboBox.
The problem is when I use AndNew method in the child BindingSource, I cannot
choose the parent record through the combobox and parentDataSource.Position.
The parent BindingSource complains about [Not Null] columns and throws
exception.
This doesn't make any sense to me. I shouldn't have to use
DataSet.EnforceConstraints because I do not have any NULL value at that
specific parent record and position!
I am sure that I am missing an important points, what is it?
Any help would be appreciated,
Alan