Subject | Re: [IBO] TIBOQuery Problem |
---|---|
Author | Helen Borrie |
Post date | 2001-08-26T04:36:17Z |
Hans,
Why not just use GeneratorLinks? It saves you having to access the IB_Connection or InternalQuery as you do with Gen_ID()...
Helen
At 11:52 PM 25-08-01 -0600, you wrote:
InterBase Developer Initiative · http://www.interbase2000.org
_______________________________________________________
Why not just use GeneratorLinks? It saves you having to access the IB_Connection or InternalQuery as you do with Gen_ID()...
Helen
At 11:52 PM 25-08-01 -0600, you wrote:
>BeforePost a simple Gen_ID, I'll try to move that to AfterInsertAll for Open and Open for All
>a see what happens.
>
>Thank You, Helen
>
>
>================================================================
>
>Helen Borrie wrote:
> >
> > At 11:32 PM 25-08-01 -0600, you wrote:
> > >Hello Jason,
> > >
> > >A TIBOQuery hooked up to a Table with a Required Field AAAA
> > >
> > >and a BeforePost Event to set this Field, upon Append comes
> > >
> > >gives the Error and Abort Message 'Field AAAA Must have a value'.
> > >
> > >Tracing it shows it starts the Required Field test before
> > >
> > >the BeforePost Event.
> > >
> > >Might that be a problem and do You wish a Test Example ?
> >
> > Hans,
> > If you are plugging in a conventional value (not relying on the user) use the AfterInsert event.
> >
> > I'd be interested to see the code in your BeforePost event, though - is it testing for dssInsert?
> >
> > rgds,
> > Helen
> >
> > All for Open and Open for All
> > InterBase Developer Initiative · http://www.interbase2000.org
> > _______________________________________________________
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
InterBase Developer Initiative · http://www.interbase2000.org
_______________________________________________________