Subject | Re: [IBO] IBOQuery and Abort in OnValidate event |
---|---|
Author | lester@lsces.globalnet.co.uk |
Post date | 2001-01-26T16:51:17Z |
You need to Rollback the record specifically.
IBO controls transactions properly, so you need to create a Transaction
component, attach it, and use StartTransaction() before the add/insert
and Rollback() in fail verify.
TQuery does not handle transactions correctly, but defaults to
Rollback() which is why it works there.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
IBO controls transactions properly, so you need to create a Transaction
component, attach it, and use StartTransaction() before the add/insert
and Rollback() in fail verify.
TQuery does not handle transactions correctly, but defaults to
Rollback() which is why it works there.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services