Delete related foundset when deleteing a record

Hi all

I have edit form with some table x in that there are two tab panels , one is depends on the edit form’s table and another one is not depend on edit form’s table. I need to show the relationship between the two tab panels. On record selection of tab panel1’s form i have loaded the found set of tab panel2’s form.

Here the problem is , when i trying to delete a tabpanel2’s form record then the whole edit form’s record is deleted.

Please let me know where i am wrong.

HI,
please let me know the problem

pkb:
HI,
please let me know the problem

Sorry, I didn’t realize we HAVE to respond within the hour… :shock:

Anyway, to be able to give an answer to your question I think you need to give us more info. Like what tables are these 3 forms using, are they seperate foundsets or are they indeed shown over a relationship, is there any onRecordSelect on the tabform2, what does this onRecordSelect code then look like,etc.

Hi, ROCLASI

I get the reason for this problem. Now it is working fine.

Thanks