Print Page | Close Window

CharacterScramble.mdb (intermediate)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=386
Printed Date: 28 Mar 2024 at 7:05am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: CharacterScramble.mdb (intermediate)
Posted By: Roger Carlson
Subject: CharacterScramble.mdb (intermediate)
Date Posted: 03 Aug 2008 at 10:45pm

Please consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .

CharacterScramble.mdb

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 http://www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=357 - Datascramble.mdb .
 
Download
Access 97 (137 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/CharacterScramble97.zip - CharacterScramble97.zip
Access 2000 DAO (67 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/CharacterScramble2k.zip - CharacterScramble2k.zip



-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net