Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Gaps in a Seque...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 30522 of 31576
Post > Topic >>

Gaps in a Sequence Number

by "jaka" <u44239@[EMAIL PROTECTED] > Jun 16, 2008 at 10:43 AM

Hi,

I'm in need of some expert help in sorting a numerical/alphanumerical
employee ID field (5&6 characters in length).

Also seperating the alphanumerical IDs and finding the gaps in the
sequence
numbers (These numbers will always begin with a "C").  Reason for this is
to
assign an unused alphanumeric number to a employee.  Therefore only one
unused alphanumeric number needs to be viewed at a time.  The original
database designer used the...   DoCmd.GoToRecord , , acLast to locate the
last record.  It has become useless since I am at C99999.  It is a 2003
database.  Can this be done with Visual Basics?  I will be glad to forward
a
sample of the database.

Thanks
Jaka


Example:

Table: Employee
Field: EmployeeID

C1345
C0001
45573
100023
C1356
C1347
C1349

Sorted data;
C0001
C1345
C1347
C1349
C1356

Individual gap result;
C0002
C0003
C0004 etc....
 




 4 Posts in Topic:
Gaps in a Sequence Number
"jaka" <u442  2008-06-16 10:43:00 
Re: Gaps in a Sequence Number
Salad <oil@[EMAIL PROT  2008-06-16 07:42:35 
Re: Gaps in a Sequence Number
"jaka via AccessMons  2008-06-17 06:47:22 
Re: Gaps in a Sequence Number
CDMAPoster@[EMAIL PROTECT  2008-06-17 21:45:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:01:01 CST 2008.