I have a need for a routine to generate unique alphanumeric ids using the characters 0 thru 9 and A through Z as the basis, which are stored in a constant,
sIDContents = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".
The resulting ids would be much like the column headers in Excel (i.e. A, B, C, ..., AA, AB, AC, etc) starting at 1 character length and continuing through X character length, where X is passed in to the routine (i.e if x=3, first id would be A, last id would be 999)
Any ideas?
Thanks in advance,
Gary
sIDContents = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".
The resulting ids would be much like the column headers in Excel (i.e. A, B, C, ..., AA, AB, AC, etc) starting at 1 character length and continuing through X character length, where X is passed in to the routine (i.e if x=3, first id would be A, last id would be 999)
Any ideas?
Thanks in advance,
Gary