Hello!
I have a view from which I create a response to the selected document using an action and @Command([Compose];…). No problem so far, I can also set fields in the new document based on fields in the selected document using code like
_id := @Text(fldProtokoll_ID);
@Prompt([Ok];“”;_id);
@Command([Compose];“frmMPSub”);
@UpdateFormulaContext;
@SetField(“fldProtokoll_ID”;_id)
Now the problem:
I have embedded the view in a form and enabled “Show action bar”. But if I use the action mentioned above, I always create a response to the document containing the view and cannot get the fields in the document selected in the view.
How can I get the embedded view to behave like it does when it is not embedded?