Sometimes a complex set of requirements are needed for records. (eg, some combinations may not occur).
Functions could be used for this case.
In that case, you would need to inform/notify the user before save, and notify and cancel the save.
Would there be an option to do that within the function language?
Notification would good for debugging as well:
(code below is example only, not real code)
or
Any other suggestion to do that with functions is welcome.
Functions could be used for this case.
In that case, you would need to inform/notify the user before save, and notify and cancel the save.
Would there be an option to do that within the function language?
Notification would good for debugging as well:
(code below is example only, not real code)
Code:
ifThen(CONDITION, \ext\notify("you did not meet the requirements")
Code:
ifThen(CONDITION, \record\cancelsave("Saving of this record has been cancelled, going back to edit form")