Start Default at @usr_action_type_id = 'form_editrow'
Bij @usr_action_type_id = 'form_addrow', krijg ik wel de default, kunnen we ook de default instellen bij
@usr_action_type_id = 'form_editrow' ?
Edit by moderator:
At @usr_action_type_id = 'form_addrow', I do get the default, can we also set the default at
@usr_action_type_id = 'form_editrow' ?
Page 1 / 1
Hi,
Can you elaborate more on what you are trying to achieve? Are you trying to have a different Default procedure for Editing then for Adding?
If so, yes it is possible with the variable @default_mode. When adding a row, this variable has the value 0, when editing a row it has the value 1. This way you can execute parts of the default only when adding and/or editing.
Can you say more about what you are trying to achieve? Are you trying to have a different default procedure for editing than for adding?
If so, this is possible with the variable @default_mode. When adding a row this variable has the value 0, when editing a row it has the value 1. In this way you can execute parts of the standard only when adding and/or editing.
When editing one row, we want to retrieve default values from previous rows, but the default
While when we add something, the default is offered.
We have tried your comment, where then the default is not started when changing the row.
Hi,
That is due to the fact that the Default procedure only gets called upon Adding a row and Editing a value of a row. Upon selecting a row and pressing Edit, the Default is not executed yet but instead is waiting for the user to edit a value before executing.