Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

positive random AutoNumber???

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi all,
i am trying to use AutoNumber to create random membership ID numbers......everything would be great except for the fact that Access is generating negative numbers some of the time.......how do you format random AutoNumbers to be positive only??? thanks in advance for your help!
mrsand
 
There is no way to create only positive Random Autonumbers. You should be generating your own membership IDs. Autonumbers should NOT be used for maningful data that will be displayed to users. Terry L. Broadbent - DBA
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers."
 
I agree with the previous post re NOT using Autonumber fields for "meaningful data".

If you need to generate random numbers look up the RND function/statement under Access help
 
thanks for the responses, i will look into RND, but most likely will generate our own membership IDs.....thanks much for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top