I have a child document inheriting values from a parent document.
There is an action button associated with the Parent form
If the parent document is not opened for edit, the values don’t transfer.
Here’s the code in the action button:
@Command([Compose]; “”; “Property Card”;“”)
What do I need to add to put the parent in edit mode so that the values transfer properly.
Thanks in advance
Jim Lamb
Subject: New composed document notinheriting values
The mode of the parent shouldn’t matter, but “” as the width:height list in @Command([Compose]) is wrong. If you aren’t going to use it, leave it out:
@Command([Compose];“”;“Property Card”)
Subject: RE: New composed document notinheriting values
Ok, the problem was that the Parent card had an embedded view that was taking focus when it was opened. So when the action caused the new doc creation, it keyed on the selected embedded view document. If there was no child doc in the view, then it inherited nothing.
If there was an existing document, it made a copy
I moved the action to an embedded button on the document.
This fixed the issue. Clicking the button selects the document.
Thanks again Stan for the help.