master detail / detail not refreshing

I have a master-detail form. The key of the master is changed by a drop down causing an ajax event to refresh form data. But the detail is not refreshed. Is there a solution to this?

Yes, can be closed, just a checkbox on the select to refresh the form.

This works fine!
but, can you tell me how to do this with a ajax autocomplete or a simple text box? I need to capture an employement ID and load the time sheet data in the details form.

Kind regards!

In my onAfterUpdate I add records to another table with some php and SQL code and I have also a subform displaying these records. Is there a way to refresh the subform after saving the data in the master form?

In general by using javascript. You can find out the iframe id and then send the appropiate url to it. I try to avoid and useually refresh the full screen, including the detail, but this should work.

I just refreshed the form with sc_redir. I was afraid it would go back to the first record when using sc_redir, but it doesn’t.

Because id is saved in session an retrieved when you refresh the page.