Re: Shipcost lookup?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12206
interpreted = N
texte = >I want to create a ship cost based on what the subtotal is. So something>like below, which doesn't work.>>>ShipMethod ShipCost>Australia [showif[subtotal]<100] 5 [/showif][showif[subtotal]>100] 10>[/showif]>International [showif[subtotal]<100] 10 [/showif][showif[subtotal]>100]>20 [/showif]>>>If I put [lookup[showif[subtotal]<100] 5 [/showif]] directly into>formulas.db, then that works.Hi Rick,About your WebDNA code above, I noticed that you are missing some spaces.For example,[showif[subtotal]<100]is wrong, but ...[showif [subtotal]<100]The only difference here is that the second example has a space between thewords showif and [subtotal]. It's a simple syntax error, that's all. ONceyou change this, the rest will probably work fine ... :)Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>I want to create a ship cost based on what the subtotal is. So something>like below, which doesn't work.>>>ShipMethod ShipCost>Australia [showif[subtotal]<100] 5 [/showif][showif[subtotal]>100] 10>[/showif]>International [showif[subtotal]<100] 10 [/showif][showif[subtotal]>100]>20 [/showif]>>>If I put [lookup[showif[subtotal]<100] 5 [/showif]] directly into>
formulas.db, then that works.Hi Rick,About your WebDNA code above, I noticed that you are missing some spaces.For example,[showif[subtotal]<100]is wrong, but ...[showif [subtotal]<100]The only difference here is that the second example has a space between thewords showif and [subtotal]. It's a simple syntax error, that's all. ONceyou change this, the rest will probably work fine ... :)Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
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:
errors 550, and 108 (1998)
founditem align (1998)
HELP WITH DATES (1997)
Signal Raised (1997)
Bug or syntax error on my part? (1997)
RE: WebCat name recognition (was MacFinder -- a new WebDNAweb site) (1998)
[OT] will work for... (2003)
RE: 2.01 upgrade problems (1997)
Separate SSL Server (1997)
text size limitation (1997)
max page views Mac can handle (1999)
Simple way to create unique SKU (1997)
Follow-up to listfiles bug report ... (2003)
Database Structure? (1998)
SetHeader (1997)
Access Denied! But why? (1997)
Re:Emailer tracking (1997)
$Quit, $CloseDatabase corrections (1997)
Web Catalog vs. ICAT (1997)
WebCat website for developers and hosters (2001)