Results 1 to 4 of 4
  1. #1
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283

    Random Number

    Hello,



    I need help Generating a Random number with alpha and numeric characters. 3 alpha and 3 numeric. Just need it to generate one number for all the records. I was thinking making it in an append query. Or if you guys can help me generate a 6 numeric number I can just update 3 of the characters with letters. thank you

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    If you have a autonumber field, just use that with your alpha. code = "ABC" & FORMAT([autoID], "000")

  3. #3
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,844

  4. #4
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283
    Hey guys thanks a lot!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Random Number and Comparison
    By Azgambit in forum Programming
    Replies: 1
    Last Post: 10-22-2013, 04:55 PM
  2. Make ID field a random number
    By harrytgs in forum Access
    Replies: 13
    Last Post: 08-08-2012, 02:18 PM
  3. No-So-Random Number
    By oleBucky in forum Programming
    Replies: 8
    Last Post: 11-08-2011, 11:02 AM
  4. Sorta Random Serial Number Generator
    By Cuselco in forum Programming
    Replies: 3
    Last Post: 08-27-2010, 12:05 PM
  5. Random number generators with no repeats
    By CJ508 in forum Access
    Replies: 5
    Last Post: 10-29-2009, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums