Subject | Re: [firebird-support] attempted update of read-only column |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-07-13T18:43:37Z |
"Chris Meelhuysen" <chris@...> wrote:
context or an after update trigger that assigns to the NEW context.
Dmitry
>Table "invoiceheader" has a before update trigger which assigns to the OLD
> update invoiceheader
> set paymentduedate =cast((:ptCalcDate + (:ptDays *
> :ptBeforeOrAfter)) as date)
> where invoiceheaderid = new.invoiceid;
>
> it receives this message
>
> General SQL error.attempted update of read-only column.
context or an after update trigger that assigns to the NEW context.
Dmitry