Subject | Re: [ib-support] Idea for a new field type for FB 2,0 or IB 7? |
---|---|
Author | Marcin Bury |
Post date | 2001-11-23T11:47:51Z |
> Max(nr) or next_ nr_procedure will provide different results if more thenone user > is creating invoices and something goes wrong between calling
> trigger/statement for calculating invoice nr and closing transaction.This solution will work when we don't really need the number 'On new record'
Putting routine for setting the number in BeforeInsert trigger.
Marcin