troubleshooting Question

Keeping track of unique numbers is MS Access

Avatar of anthonytr
anthonytrFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft SQL ServerMicrosoft Access
8 Comments4 Solutions86 ViewsLast Modified:

I know MS Access uses AutoID fields to generate a unique number (which i what i use as my PK within my DB), but how do i keep track of unique numbers which are generated within my DB which an end user needs to use/see?  My example is this:

Each item which my asset management program tracks has a unique Barcode (just a number string) which is generated (+1 to the next number).  When a user adds a new asset into the system, how do I check to see what the next available number is in the system before assigning it?

My FE is MS Access and my BE is MSSQL 2012

Mike Eghtebas
Database and Application Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 4 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros