Accessing temporary autoinc value after applyupdates?

When using an autoinc field, the client uses temporary negative values for new records. When the update is applied, the server replaces these with the actual values assigned by the database engine and these are then returned to the client.

After this process completes, is there any way of obtaining the original, negative value that was originally used? (on the client that is)

not yet, but you can use OnBeforeMergeDelta event and grab old/new values from Delta before changes were merged (client-side)
on server-side you can use OnAfterProcessDeltas event

Hey Toby,
I was actually hoping to ask you about another post you had Database locking issue
but this topic was closed so the reply link was gone.

I have the same identical problem, but you mentioned you found an error in your code causing the issue.

I don’t suppose you remember what the error in your code was? I’ve tried everything I can think of to find the cause, but can’t track it.

Cheers,
Scott

tobygroves my direct email is it@ragingthunder.com.au