Re: Format all of a sudden doesn't work

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13576
interpreted = N
texte = >The [format .2d][form.step][/format] used to give out 02, if we entered >02. now it just gives out 2. It drops the leading 0 that we use for >sorting purposes so 02, 03, 04, 05, 06 07, 08 and 09 would show up before >10.That is very odd. Please send me a PowerCenter box and I'll see what I can do ;) (just kidding; we'll have to figure out another way to test this out)In the meantime, can you rework your database to use fieldnameTYPE=Num so that sorting works properly even if you don't have preceding zeros?Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Format all of a sudden doesn't work (Grant Hulbert 1997)
  2. Re: Format all of a sudden doesn't work (grichter@panavise.com (Gary Richter) 1997)
  3. Re: Format all of a sudden doesn't work (Grant Hulbert 1997)
  4. Format all of a sudden doesn't work (grichter@panavise.com (Gary Richter) 1997)
>The [format .2d][form.step][/format] used to give out 02, if we entered >02. now it just gives out 2. It drops the leading 0 that we use for >sorting purposes so 02, 03, 04, 05, 06 07, 08 and 09 would show up before >10.That is very odd. Please send me a PowerCenter box and I'll see what I can do ;) (just kidding; we'll have to figure out another way to test this out)In the meantime, can you rework your database to use fieldnameTYPE=Num so that sorting works properly even if you don't have preceding zeros?Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

unitshipcost vs shipcosts (1997) [isfile] ? (1997) WebCat2 - [format thousands] (1997) WC Database Format (1997) WC on Mac OS X or Mac OS X Server 2.x (2001) Limiting user access to .tmpl files (1997) [append] and SSL (1997) [OT] Redhat 6.1 (2003) Can you identify the [body]? (1999) [group] ? (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Calculating multiple shipping... (1997) any suggestions for creating a multi-lingual site? (1999) Setting up shop (1997) Poll using WebCat (1998) Bugs in IE 6.0 ? (2003) Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Size limit for tmpl editor ? (1997) RE: Full text search (1999) Re:no [search] with NT (1997)