RDOHELP72.HLB  —  DEFINE_TRIGGER, Format  context-var-clause
  (B)0context-variable-clause =
  qqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwq>
    tq> OLD CONTEXT old-context-var qu
    mq> NEW CONTEXT new-context-var qj

    An optional clause that can contain aliases for old and new
    states of the context variable of the triggering statement.

1  –  old-context-var

    A temporary name used to refer to the record values as they
    existed before a modify operation occurred. You use an old-
    context-var only when the trigger occurs after a modify
    operation, and must be a different name than the one given for
    context_var.

2  –  new-context-var

    A temporary name used to reference the new record values about
    to be applied by modify operation. You use a new-context-var only
    when the trigger occurs before a modify operation, and must be a
    different name than the one given for context-var.
Close Help