DataScramble.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 01 Aug 2008 at 5:30am |
Please consider donating $1 per sample downloaded, find out why here.
DataScramble.mdb This form allows you to scramble data in a table for confidentiality reasons. It does this by creating a separate, temporary table with all the values of the field you want to scramble. Then is starts at the top record of the main table and copies random values from the temporary table back into the main table. As each value is copied back in, it is deleted from the temporary table.
Repeat this process for each field and the records will be thoroughly scrambled. Note: You must temporarily remove any unique indexes on a field, before you scramble it. You can re-establish it after the scrambling is done. Do not attempt to do this on Primary Keys, but you may use this on Foreign Keys. To use this form, simply copy it into any access database. It will find all the tables and field names. Two temporary table are added to the database for this process. When you close the form, they are erased. If they are not, just open and close the form again. To scramble Text data WITHIN A FIELD, see my sample CharacterScramble.mdb.
|
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |