Subject | Re: [IBO] TIBOQuery Problem |
---|---|
Author | hans@hoogstraat.ca |
Post date | 2001-08-26T06:16:22Z |
Plus nobody converting from BDE wortld would have generator links
to start with :)
I know, I should have better things to do :)
Best Regards
Hans
===========================================================
Helen Borrie wrote:
to start with :)
I know, I should have better things to do :)
Best Regards
Hans
===========================================================
Helen Borrie wrote:
>
> 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:
> >BeforePost a simple Gen_ID, I'll try to move that to AfterInsert
> >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/
>
> 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/