Pane layout update issue

I’ve got a form with a three pane layout, using JSplitPane. The panes enabled the UI I really wanted, but the master-detail relationships have to updated manually, so when you select a record in Pane1, it calls forms.[form].loadRecords( relation ) on the form in Pane2, same from Pane2->Pane3. Those calls are hooked into both the onShow and onRecordSelection events on the forms in Pane1 and Pane2.

This works fine browsing the records, but if I do something that fires databaseManager.saveData(), it breaks down, and suddenly the foundset in Pane2 is “all records.” This seems like a bug to me, but maybe I’m missing something. saveData shouldn’t invalidate the foundset on a form, should it?

g.

I agree, it shouldn’t break the foundset but are you sure it is not something else that makes it break?

BTW it is of course easy to call onrecordselect again ;)

BTW it is of course easy to call onrecordselect again

Is it? Where would I trigger that call? onRecordSave doesn’t work, because it seems to do it’s work before databaseManager.saveData() is called.

Is there something like an onAfterSave I’m not seeing?[/quote]

Well, I haven’t been totally clear I guess. What I meant to say is that it is easy to call your onrecordselect method again after performing that save.
Hope this is more clear…

I’m probably not being very clear either. I don’t want to have to click a button or otherwise manually trigger the call. It needs to happen from an Event or be very disorienting to the user.
g.