Process command for modifying data on display forms
AR System server displays a list of entries on a form when the form is in Modify or Display mode. To reuse a form containing a list of entries, embed the form in a view field on a form that is acting as a container. This allows you to make changes to the entry list without refreshing the browser window and can provide a substantial speed improvement.
You use the PERFORM-ACTION-GET-ENTRY command (see Using-Run-Process-and-PROCESS-commands) to:
- allow users to edit a view form that is being displayed in a container form.
- hide the entry list or create a custom entry list user interface that can reside on a different form, such as, a cell-based table.
When the user executes the PERFORM-ACTION-GET-ENTRY command, depending on the current state of the entry, the following occurs:
- If the user has modified fields and not saved, that is, the change flag is active when the command is called, AR System server prompts the user to save the record or cancel the edit.
- If the result list is shown when the command is called, AR System server displays the emptied result list to the user with an empty row.
For example, assume that you have a table field on Form A. The table field contains entry IDs describing entries in Form B. Form B is loaded into a view field or a browser window. You can create an active link that sends an event to Form B and includes an entry ID as a parameter of the event. You can then create another active link that acts as an event handler on Form B, which has the PERFORM-ACTION-GET-ENTRY run process command. The command enables Form B to load the requested entry only. For information about how to define a run process active link, see Creating-a-Run-Process-action.