|Subject:||Re: Cancelling Tcursor Action
|Date:||Thu, 25 Jun 2020 09:42:23 -0800
On 6/24/2020 10:15 PM, Tom Krieg wrote:
> That would happen if your unlock didn't work. Trying to delete a
> non-existent record because it hasn't been written yet. Think of it this
> insertrecord creates a memory space (record buffer) to receive the
> record data.
> assigning the value of all the fields just moves the data into the
> memory buffer.
> unlockrecord writes the buffer to the underlying table. If this is
> unsuccessful, nothing gets written.
> canceledit clears the memory buffer with no table action. Edit ends.
> On 25/06/2020 2:56 pm, Peter wrote:
>> After tc.insertRecord() and populating the fields I have
>> if not tc.unLockRecord() then
>> I was getting a Pdox err about keyviol and it showed Pdox choking on