reload detail from changes in ANOTHER detail

I have a master/detail form. In it I have 2 detail forms embedded, which are from the same table but one is a grid-view and the other one is a single-record form.

I would like to know if I can add a record in the single-record form, and then re-load the grid-view form so the new record gets shown there? Will it do it automagically? Does it need an ajax event or something like that?

Re: reload detail from changes in ANOTHER detail

This may point you in the right direction: Simple Form reloads grid data.

Demo:
http://www.scriptcase.net/sistemas/v5/exemplos_en_us/form55/form55.php

Tutorial:
http://www.scriptcase.net/siteen/samples/tutoriais/form/form55.php

main page:
http://www.scriptcase.net/siteen/samples/samples.php

Regards,
Scott.

Re: reload detail from changes in ANOTHER detail

i think this is the same problem i had, and all I did was go to the events for the single record form, and put this in the onAfterInsert:

sc_redir(form_name.php);

. That reloads the whole form, so if there is a detail form, it should reload as well with the new record inserted. You could also try Scott’s link.