Subject | Re: [IBO] TIBOQuery Problem |
---|---|
Author | Helen Borrie |
Post date | 2001-08-26T04:16:04Z |
At 11:32 PM 25-08-01 -0600, you wrote:
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
_______________________________________________________
>Hello Jason,Hans,
>
>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 ?
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
_______________________________________________________