Hi,
I have a master/detail form and I want that after the user insert the master I redirect it to the same form to compile the details.
I have put this code in the afterinsert:
sc_commit_trans();
sc_redir(form_master,id_doc={ID_DOC});
but {ID_DOC} (which is the pk) is null (it is generated from a sequence in oracle db)
what is the right way to archive this result?
Thank You