Subject | Re: [IBO] Trouble with PreparedInserts |
---|---|
Author | Geoff Worboys |
Post date | 2002-05-04T22:24:43Z |
Hi Dieter,
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
> I set the PreparedInserts := False in the BeforePrepare Callback ofHave you tried setting PreparedInserts = false somewhere else in your
> 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.
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