Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP Generator
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP Generator

 Post Reply Post Reply
Author
velkymx View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote velkymx Quote  Post ReplyReply Direct Link To This Post Topic: ASP Generator
    Posted: 06 June 2005 at 6:06pm
I need help! I want to build a part number generator that will create sequential strings using: abcdefghijklmnopqrstuvwxyz123456789

000000
000001
000002
...
00000A
00000B
...
00001A
00001B
...

Any one have any idea how to do this?


Edited by velkymx - 06 June 2005 at 6:16pm
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2005 at 1:04am
Why not just use hexadecimal (0123456789ABCDEF)? That way you can just use a number (you could start at 1 or wherever satisfies your needs) and then just use the "hex()" function to convert the number to hex. That'll work just fine in most cases (and give you numbers and letters most of the time).

I'm sorry, but I don't think ASP came complete with a base-10 to base-36 number converter...

I'm pretty sure there is a way to do what your talking about though, I just have no idea on how to accomplish it. Somebody here should know how to do it.

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2005 at 10:23am
I wrote a function that converts any base to any base, i'll try and find it.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.