Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Best way to track data changes

Posted on 2008-10-25
2
Medium Priority
?
201 Views
Last Modified: 2013-11-29
I am looking for the best way to track data changes. Basically I will have some users entering data into a form but on a weekly basis I have to QA the data. What I want to be able to do is change the data but still keep the old data so the end user can see what the data is changed from and changed to.

My table has 2 fields that would require changes named Process and Cause. I would like to create 2 new fields called qaProcess and qaCause that would store the old data. The correct (or corrected) information should remain in the original Process and Cause fields for reporting purposes. What is the best way for me to move the incorrect data from one field to another. Is this the best way to go about it? Should I consider using a separate table to capture this data?

Only about 1 in 20 records would require this change.

Any help would be greatly appreciated.
0
Comment
Question by:davidlittle2008
2 Comments
 
LVL 18

Expert Comment

by:jmoss111
ID: 22804417
Hi davidlittle2008,

If it were my db I would create another table with on the PK and the two changed columns.

Regards,

Jim
0
 
LVL 42

Accepted Solution

by:
dqmq earned 375 total points
ID: 22804800
In DW parlance, your approach is called a type 3 changing dimension.  It's a perfectly valid solution if it meets your needs.  However, understand that it is limited to storing only the last change and you will not know who did it or when it was done.  Using another table provides a more robust audit history.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question