when i want to delete a child record from the relate table in data environment, it delete the parent record also. Please show me how the the the child record deleting the master record in vb6

Please show me also how to show an inserting record using text box and show in datagrid in vb6