Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - CharacterScramble.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)

CharacterScramble.mdb (intermediate)

 Post Reply Post Reply
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: CharacterScramble.mdb (intermediate)
    Posted: 03 Aug 2008 at 10:45pm

Please consider donating $1 per sample downloaded, find out why here.


This form allows you to scramble character data WITHIN A FIELD. It does this by creating a separate, temporary string with the value of the field you want to scramble. Then is starts at the top record of the main table and randomizes the value of the selcected field. As each character is copied back in, it is deleted from the temporary string.

Repeat this process for each field and the values 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 or Foreign Keys, or you will lose Referential Integrity

To use this form, simply copy it into any access database. It will find all the tables and field names.

To Randomize FIELDS WITHING A TABLE, see my sample Datascramble.mdb.
Access 97 (137 KB):
Access 2000 DAO (67 KB):

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.