preserving the zero's

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22755
interpreted = N
texte = This issue has probably been addressed before... I am having trouble with numbers that begin with zero not coming through in their pure form. For example, the customer selects a year for his/her credit card expiration date. If the year is 2001, 01 should be sent. However, the 0 is dropped in the process and only the 1 come through. This will cause a problem when importing the info into our offline database. I cannot use 4-digit years since our database is not set up that way. Is there a way to preserve the 0 at the beginning of the number?Thanks for your helpMike Associated Messages, from the most recent to the oldest:

    
  1. Re: preserving the zero's (Kenneth Grome 1999)
  2. Re: preserving the zero's (Mike Eberly 1999)
  3. Re: preserving the zero's (Kenneth Grome 1999)
  4. preserving the zero's (Mike Eberly 1999)
This issue has probably been addressed before... I am having trouble with numbers that begin with zero not coming through in their pure form. For example, the customer selects a year for his/her credit card expiration date. If the year is 2001, 01 should be sent. However, the 0 is dropped in the process and only the 1 come through. This will cause a problem when importing the info into our offline database. I cannot use 4-digit years since our database is not set up that way. Is there a way to preserve the 0 at the beginning of the number?Thanks for your helpMike Mike Eberly

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

serial number dishing (1997) WebCatalog for guestbook ? (1997) File Upload (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) Custom formulas.db (1998) [SHOWIF] (1997) HTML encoding in URLs (1997) When to use [convertchars] ?!?!? (2000) Mac Lockup Problems (1998) Add (1998) problems with 2 tags shakur (1997) with Link i need to (1997) notification solutions (1997) TCPConnect (2002) question: writing files textb in webmerch (1997) WebCat and AppleShare 6.0 (1998) [movefile] (1999) WebCat b13 CGI -shownext- (1997) Protect (1997) post (2000)