Skip to content

Documentation issue: Documented form of trigger creation does not work as expected #1220

Closed

Description

@RB-News-MailAccount

Documentation example uses
´ .... BEFORE INSERT ON one CALL onchange()´
and a trigger function expecting the record as parameter named r.

This did not work for me, the function was called but without parameter.

From a look into the source, one can learn that there is an alternative syntax for trigger creation wirhout keyword CALL and without parenteses:
´.... BEFORE INSERT ON one onchangeˋ

Using the latter syntax the trigger function is called with the record as parameter.

Activity

  1. mathiasrw commented on Oct 21, 2026

    @mathiasrw
    Member

    Is confirmed working in v4.20.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions