Subject Re: [IBO] Trouble with PreparedInserts
Author Geoff Worboys
Hi Dieter,

> I set the PreparedInserts := False in the BeforePrepare Callback of
> the TIB_Query, which is "select * from belegzeilen". When I do not
> set it to false, every thing is OK but my Trigger does not default
> the values.

Have you tried setting PreparedInserts = false somewhere else in your
code - in FormCreate for example.

Its not a feature that I have used but BeforePrepare is not the place
that immediately jumps to mind. (Altering PreparedInserts generates a
StateChanged event and I am not sure what this may mean when you are
in the middle of preparing a dataset.)

If you cannot get the feature to work by moving the preparedinserts
assignment you may need to create a small demo of the problem to send
to Jason to show where the problem exists.

--
Geoff Worboys
Telesis Computing