L
Luqman
I have created a form using single Table which has customerId and
companyName field, using Typed Dataset.
Now, if I click on Delete Button of Binding Navigator, the Customer Record
is deleted from Dataset, however when I click on Save Button of Binding
Navigator, Oracle raises Constraint violation Error, child record found."
Why can't VB.Net check the child record / constraint violation when I
clicked on Delete Button, any idea please ?
I have also checked the TableAdapter Property in Dataset, and Enforce
Constraint is True there.
I have put only one table in Dataset i.e. Customers, which is linked with
Invoice Table in Oracle, do I have to put Invoice Table also in Dataset ?
Further, how can I cancel / EndEdit on Delete Button of Binding Navigator ?
I tried putting some condition in Delete Button and raised some msgbox and
exit sub, but still it deleted the record.
Best Regards,
Luqman
companyName field, using Typed Dataset.
Now, if I click on Delete Button of Binding Navigator, the Customer Record
is deleted from Dataset, however when I click on Save Button of Binding
Navigator, Oracle raises Constraint violation Error, child record found."
Why can't VB.Net check the child record / constraint violation when I
clicked on Delete Button, any idea please ?
I have also checked the TableAdapter Property in Dataset, and Enforce
Constraint is True there.
I have put only one table in Dataset i.e. Customers, which is linked with
Invoice Table in Oracle, do I have to put Invoice Table also in Dataset ?
Further, how can I cancel / EndEdit on Delete Button of Binding Navigator ?
I tried putting some condition in Delete Button and raised some msgbox and
exit sub, but still it deleted the record.
Best Regards,
Luqman