In a newly created form When a record in line is deleted it deletes the header also.

Hi All,

I have created a new DetailsPage form. In line details grid, when i create a line and try to delete it, it also the deletes the header. I dont want to delete the header. I want to dete only the line.



Do you have a delete button for the Lines group also? if so check the data source property of the button group.

Hi Manikandan,

If you are trying to delete the line from ChildDataSource Grid which is related with ParentDataSource Grid then In ChildDataSource there should to be buttongroup having the datasource property with “childTableName” then over deletebutton should have the command like “delete”.