Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello All,

 

I'm making event driven calls to the db (Access 2000) from my windows form to collect a Transaction id (that I have created)

 

These Transaction ids must be unique.

 

I get a Transaction id from the database using a Datareader, and then write the next Unique Id in the sequence back to the same table with an Update query (using ExecuteNonQuery)

 

When I try to get the Transaction Id that I just wrote to the table, sometimes it appears as if the Update hasn't had time to come into effect (when I repeat the event quickly).

 

Is there anything like "Database Refresh" like I had in DAO?

 

Thanks,

 

georg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...