Random Autonumber

T

Tru

I have a autonumber random field "Customer ID" that sometimes generates
negative numbers is there a way to have this field generate positive numbers
only.
 
R

Rick Brandt

Tru said:
I have a autonumber random field "Customer ID" that sometimes
generates negative numbers is there a way to have this field generate
positive numbers only.

No. What I do in a few places is use Random AutoNumbers but display them as
Hex values. This produces a character/digit string that is always 6
characters long and there is never a negative sign.

Otherwise you would have to "roll your own" method for assigning the numbers
instead of using AutoNumber.
 
T

Tru

Thanx! This was the first time i tried random autonumber i wont use it again.
But your hex format is a great idea.
 

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