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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
Bug Report, maybe (1997)
Emailer problems solved (1997)
problems with 2 tags (1997)
question: back button prevention (1997)
[WebDNA] [OT] potential cheap WebDNA server? (2009)
Simple way to create unique SKU (1997)
WebCatalog can't find database (1997)
# fields limited? (1997)
how do ye do this?????? (2001)
WebCat for News Gathering (1999)
Shell and telnet (2002)
Quit revisited (1997)
Sort Order on a page search (1997)
autosensing lanague selection (1997)
I hate talking to myself on this list (2004)
search form problem.. (1997)
Paypal merchant code tricks or pitfalls (2003)
Mac 2.1b4 unknown error: BadSuffix (1997)
Database access (2003)
autosensing lanague selection (1997)