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!

Unique Number

Status
Not open for further replies.

Zbob

MIS
Apr 25, 2002
94
US
What would be the best way to obtain a unique number (RMA Number) in a multi user environmet?


If two users are entering RMA's and I need to Assign a unique number, how do I keep users from grabbing the same number.

Thanks.
 
Well, the if you've got an Autoincrement/Identity field, then each insert will get a unique value, even in a multi-user environment.


info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top