>Can you tell me how you're dealing with deleting child records (i.e. how your delete button works)? My issue (in the context of using one set of buttons to handle two different tables - starting to look like a bad idea?) is that I want to allows multiple addresses for each name. However right now I'm just trying to adapt my delete button so it works one way in deleting the parent and another in deleting the child (i.e. I don't want delete to delete other parent's children).
>
>Thanks,
>
>Sylvia
Sylvia, I use multiple tables & 1 set of buttons all the time. My Activate() method for each pageframe page sets my ActiveAlias property with the DBF which is active on that page. This value is called in the Add/Delete buttons, so the correct table is always active.
In one case, where I had parent and child records added on the same form (not on separate pages), I re-set the ActiveAlias method when I clicked on the grid showing child data.
HTH
Barbara