Subject | Re: [IBO] Record "there, but not there" problem |
---|---|
Author | Daniel Rail |
Post date | 2003-07-14T18:13:44Z |
Hi,
At July 14, 2003, 13:59, Joe Martinez wrote:
are setup in your application.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At July 14, 2003, 13:59, Joe Martinez wrote:
> They will search for a record by the table's primary key (it uses aIt almost seems as if the transaction is not committed.
> TIBOQuery). The search comes up as zero records found. So, then, they try
> to add the record (calling Insert on a TIBOTable connected to the same
> table, filling in the data aware controls, then calling Post()). This
> produces a Key Violation error. They try the search again, and it still
> says it isn't there, but every time they try to add a record with the same
> key, they keep getting the Key Violation.
> If they exit my app, start it again, and try the serarch again, it findsPossibly because the transaction gets committed!
> it. So, it looks like it was there all along, but for some reason, the
> search wasn't finding it. I'm not sure why restarting my app makes it
> start working.
> Does anyone have any idea what's causing this, or how to fix it?Look very carefully at how the transactions are handled and how they
are setup in your application.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)