>Dear All,
>I have made a form which consist of two table Parent and its child table.
>The Child Table is in the Grid View. I want to add a record in the child table
>So i have added txtbtns from the Wizbtns.Vcx. In the gotfocus of Add Button
>i have selected the child table. Since i want to add the record in the Child one.
>But if i click add a messagebox comes which ask to add record in parent or
>child or in both. Since i do want this message i write this 'This.Txtbtns1.Gridref=" " '
>in activate method of myform.
>I want to know whether this is write method or not or is there any other way to avoid
>this mesage
>ThankU.
On the form edit add button click code. It would override default class code.
Cetin