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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoNumber and Random values 1

Status
Not open for further replies.

jeevenze

Technical User
Mar 13, 2001
62
US
I have one of my fields in the table as Data Type as an AutoNumber. For New Values instead of Increment I have it set as Random. This returns random numbers but some of the values returned are negative .
e.g. -2948573. Is there a way that all random numbers returned are absolute or positive?

Any help is much appreciated.
Thank you in advance

Jeevenze.
 
There is no way that I've ever heard of to make Access not assign a negative number. You'll need to write your own routine to do this. JimmyTheGeek wrote about doing just this in thread181-90208 Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top