Subject | Re: Limit rows number in TIB_Query |
---|---|
Author | paolopf |
Post date | 2002-06-29T06:20:35Z |
Hi Svein,
I was out for few days.
Thanks. To write a before insert trigger is what I thought, but I was
not sure it is the best solution.
Rgds
Paolo Fenelli
--- In IBObjects@y..., Svein Erling Tysvær
<svein.erling.tysvaer@k...> wrote:
I was out for few days.
Thanks. To write a before insert trigger is what I thought, but I was
not sure it is the best solution.
Rgds
Paolo Fenelli
--- In IBObjects@y..., Svein Erling Tysvær
<svein.erling.tysvaer@k...> wrote:
> I guess the closest you get is to write a before insert triggerchecking
> that some unique field is within a given range. If you just want tostop
> your program from inserting such rows (not physically in thetable), just
> make your check at the client side.
>
> >thanks, but I wasn't clear enought. I meant to limit FISICALLY the
> >rows in a table.
>
> HTH,
> Set