Announcement

Collapse
No announcement yet.

add \ext\notify and \record\cancelsave

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • add \ext\notify and \record\cancelsave

    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)

    Code:
    ifThen(CONDITION, \ext\notify("you did not meet the requirements")
    or

    Code:
    ifThen(CONDITION, \record\cancelsave("Saving of this record has been cancelled, going back to edit form")
    Any other suggestion to do that with functions is welcome.
Working...
X