Scramble/Randomize ID Numbers

T

Twee

Hi everyone,

I'm a new poster to this forum and hope that I'm not asking too basic of a
question. I have a database with identification numbers that I'd like to
scramble as I'm sending it out an outside source and would need to do this as
an extra measure of security.

The ID numbers vary in length, some are alphanumeric and some are not, and
if I could just figure how to do this as well as be able to "go back" to
figure out what the original IDs were, I could stop pulling out my hair.

Any help you can offer will be greatly appreciated...Going bald soon.

Many thanks,
TL
 
K

Klatuu

Assuming the ID numbers are unique, I would suggest a table to cross
reference the real ID with the madeup ID.
Take a look an the Randomize and the Rnd functions in VBA Help. You could
write some code to generate a false ID to send, and save the real ID in one
field of your new table and the corresponding false ID in the other.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top