Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there someway to track changes made to data in a MS Access database?

 

Like someone changes a phone number in a record on a form -Is there a way to find out what changes were made to what fields for what records and when they were changed and what the record looked like before the change? And also record the logged in user that made the change?

  • Moderators
Posted

You will need to track the changes yourself.

When the user enters a cell in the Datagrid, keep all the info for that row in a variable or array, then if they actualy make a change, you can write to a Log file or table.

If you are using text boxes, the just hold the Before data in a varible as they get focus.

Visit...Bassic Software
  • *Experts*
Posted

Actually, if you're bound to a DataSet, the DataSet contains the original values as well as the current ones. Maybe that will work for you?

 

As for the logged in user, I hope you're storing THAT in a variable somewhere... right? :)

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

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...