/g In Access you can use Format(Rnd(IsNull([ID])*0+1)*100,0) in a query where [ID] is the 1-50 number, then sort on it. BUT beware since the result is a random number, there could be two or more of the same random numbers in any query. In Access Rnd() is the random function. -Anthony -----Original Message----- From: Glenda Wells [ mailto:gwells@xxxxxxxxxxx] Sent: Monday, August 04, 2003 11:43 AM To: mso@xxxxxxxxxxxxx Subject: [SPAM?:###] [mso] Random in Access or Excel Hi. I have a list of numbers, 1-50, in a table of two columns. The number is the unique value for text in a memo field. The memo field is in a report that's printed for distribution. I'd like to randomly sort the numbers from time to time so the text in a report changes from time to time. The idea is to have a random selection of text every time the report is printed. Currently, I regenerate my list of numbers using random.org and re-do my table with the new list which gets the job done, but isn't very elegant and probably not using Access properly. Any advice appreciated. Still looking for a clue in (waaaay tooo) sunny Florida. /g ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************