G
Guest
I think my last thread got lost while waiting for a response so this is a
resubmission per the netiquette suggestions on mvps.org.
So... I'm working on a system that will track objects in a database. These
objects are numbered (unfortunately) as A, B, C, D, ... AA, BB, CC, DD, ...
AAA, BBB, CCC, DDD. What that ultimately means is the 27th object will
receive a designation of AA and the 28th will receive a designation of BB and
the 53rd a designation of AAA and the 54th a designation of BBB and so on.
The user of the DB enters the name of the object in a form and I'd like the
system to automatically assign the appropriate letter(s) to that object.
Dave Hargis (Klatuu) was helping me out but like I said, I believe my post
was lost in the archives... no action on it since 11/14. His suggestions so
far have been to take advantage of asc to figure out what the number
equivalent of the letter would be but that was before he learned of the
complexity (idiocy? Wish I could just tell the users they need to adopt a
more logical numbering system like AA, AB, AC, and so on) of this numbering
system.
I'm self taught in the world of VBA and so looping (which is where I imagine
this is likely to go) is a whole new world for me. Be gentle. Thanks!
Ariel
resubmission per the netiquette suggestions on mvps.org.
So... I'm working on a system that will track objects in a database. These
objects are numbered (unfortunately) as A, B, C, D, ... AA, BB, CC, DD, ...
AAA, BBB, CCC, DDD. What that ultimately means is the 27th object will
receive a designation of AA and the 28th will receive a designation of BB and
the 53rd a designation of AAA and the 54th a designation of BBB and so on.
The user of the DB enters the name of the object in a form and I'd like the
system to automatically assign the appropriate letter(s) to that object.
Dave Hargis (Klatuu) was helping me out but like I said, I believe my post
was lost in the archives... no action on it since 11/14. His suggestions so
far have been to take advantage of asc to figure out what the number
equivalent of the letter would be but that was before he learned of the
complexity (idiocy? Wish I could just tell the users they need to adopt a
more logical numbering system like AA, AB, AC, and so on) of this numbering
system.
I'm self taught in the world of VBA and so looping (which is where I imagine
this is likely to go) is a whole new world for me. Be gentle. Thanks!
Ariel