Subject Re: IBX - GeneratorField
Author jean.clemens@internet.lu
--- In ib-support@y..., "Andrew S. Vaz" <andrew_s_vaz@b...> wrote:
> Jean,
>
> Use the generator field property on the "on new record" option.


I tried this option too. By the way the field used is the primary key
of the table, so a "not null" constraint does exist. It seems that
this constraint is triggered before the Generatorfield action.

Up to now i was always using a "before insert" trigger to get a
generator value but i wanted to get rid off defining those triggers.

Jean.

>
> I've been using it that way and it works perfectly for me.
>

Is your field also a primary key ?

> Andrew
>
> > I am currently using IBX Components 4.52
> >
> > I have a problem with TIBDataSet Component especially the
> > GeneratorField property. GeneratorField gives the possibility to
> > assign a generator to a field of a table.
> > I get following error on "Post": Validation error for column ID,
> > value "***null***". On New Record and On Post give the same
behaviour.
> >
> > What is wrong here ? Is there any better documentation about IBX
than
> > the one on Borland's site ?
> >
> > Thanks for any hints
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > ib-support-unsubscribe@egroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >