Subject | RE: [ib-support] Idea for a new field type for FB 2,0 or IB 7? |
---|---|
Author | Paulo Gaspar |
Post date | 2001-11-21T19:15:59Z |
Hi Nando,
Answer inline:
it.
And it is good is it is flexible because that way one can use it to save
time in more situations.
what the feature should be.
UPDATE")user defined triggers.
User triggers acting before the generator can analyze the input from the
client and have the ultimate decision on what value goes on in such field.
After the generator there would be no way of finding out if the value had
been filled in by the client or by the generator.
Notice that I am considering that, has it was proposed, the value would
only be generated for null valued fields.
Paulo Gaspar
http://www.krankikom.de
http://www.ruhronline.de
Answer inline:
> -----Original Message-----As Artur already remarked, it is a time saver. That is what is handy about
> From: Nando Dessena [mailto:nandod@...]
> Sent: Wednesday, November 21, 2001 5:27 PM
>
> Paulo,
>
> > I find such feature very handy and flexible.
>
> I fear we are just trying to substitute a flexible approach we already
> have with something less useful (if also less tedious to implement, I
> admit).
it.
And it is good is it is flexible because that way one can use it to save
time in more situations.
> Should that define a system trigger?Probably. That is an "implementation detail". We are still talking about
what the feature should be.
> Should that trigger fire before or after the user defined triggers?It should be after all the other "BEFORE INSERT" (and maybe even "BEFORE
UPDATE")user defined triggers.
User triggers acting before the generator can analyze the input from the
client and have the ultimate decision on what value goes on in such field.
After the generator there would be no way of finding out if the value had
been filled in by the client or by the generator.
Notice that I am considering that, has it was proposed, the value would
only be generated for null valued fields.
> Should the user defined triggers be able to see/modify the value?Obviously - from the previous answer - yes.
> ____Have fun,
> _/\/ando
Paulo Gaspar
http://www.krankikom.de
http://www.ruhronline.de