Subject | Re: [firebird-support] Field computed by |
---|---|
Author | Ivan Cruz |
Post date | 2005-06-30T16:04:19Z |
Andrei Luís wrote:
just after a SQL Insert (or Update) comand is issued and it's done
only in the Post method. The Insert method on IBO (and all other
DB components) works only locally.
To solve your problem, drop the computed by field and create a
calculated field (and a onCalcFields event handler) in your Delphi
query.
Ivan.
>I'm using IB_Query from IBO, and, when I'm inserting dataIt's as designed. Computed by fields will be computed by Firebird
>(qrSales.Insert) the total field doesn't show its value. Only after
>qrSales.Post.
>
>Is that correct? Is there any way I can show the total before
>qrSales.Post? I'd like to show the total, right after quantity and
>unit_price receive any value.
>
>Is that possible?
>
>Thanks,
>
>Andrei
>
>
>
just after a SQL Insert (or Update) comand is issued and it's done
only in the Post method. The Insert method on IBO (and all other
DB components) works only locally.
To solve your problem, drop the computed by field and create a
calculated field (and a onCalcFields event handler) in your Delphi
query.
Ivan.