Re: ShippingCosts
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19078
interpreted = N
texte = >>>Ken,>>>>>>The revised lookup doesn't seem to work any better; it still returns 0.>>>BTW, the lookup is>>>>>>[format .2f][lookup>>>db=formulas.db&value=ShipCost&lookinfield=Name&returnfield=Formula¬found=No>>>ne>>>][/format]>>>>>>I'm fairly new with [lookup]s and haven't messed with them. Does this look>>>right?>>>>Yes, it looks right to me. And I didn't really think my formula would work>>any better than the one you already had, I just thought it might be worth>>a try, in case there was some strange problem in the math context I had>>never seen. Just make sure the value (ShipCost) is entered exactly because>>lookups are case sensitive with respect to the value parameter.>>db=formulas.db&value=ShipCost&lookinfield=Name&returnfield=Formula¬found=No> ^^^^^^^^^>>Isn't this a value from a [Search]? If so it should read [ShipCost] instead>of just ShipCost.I think it's from within an [orderfile] context but I don't remember seeing the entire WebDNA code for the page ... and I don't use WebCatalog's built-in eComerce features much so I forgot about something:I think there shouldn't even need to be a lookup performed, instead I think it should work with a simple [ShipCost] tag, because WebCat is(from what I remember) supposed to check for a ShipCost formula in the formulas.db when it sees the [ShipCost] tag in an orderfile context ... right?Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>>>Ken,>>>>>>The revised lookup doesn't seem to work any better; it still returns 0.>>>BTW, the lookup is>>>>>>[format .2f][lookup>>>db=
formulas.db&value=ShipCost&lookinfield=Name&returnfield=Formula¬found=No>>>ne>>>][/format]>>>>>>I'm fairly new with
[lookup]s and haven't messed with them. Does this look>>>right?>>>>Yes, it looks right to me. And I didn't really think my formula would work>>any better than the one you already had, I just thought it might be worth>>a try, in case there was some strange problem in the math context I had>>never seen. Just make sure the value (ShipCost) is entered exactly because>>lookups are case sensitive with respect to the value parameter.>>db=
formulas.db&value=ShipCost&lookinfield=Name&returnfield=Formula¬found=No> ^^^^^^^^^>>Isn't this a value from a
[search]? If so it should read [ShipCost] instead>of just ShipCost.I think it's from within an
[orderfile] context but I don't remember seeing the entire WebDNA code for the page ... and I don't use WebCatalog's built-in eComerce features much so I forgot about something:I think there shouldn't even need to be a lookup performed, instead I think it should work with a simple [ShipCost] tag, because WebCat is(from what I remember) supposed to check for a ShipCost formula in the
formulas.db when it sees the [ShipCost] tag in an orderfile context ... right?Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
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:
Header Values won't take. (1998)
WebCat b15 Mac plug-in (1997)
service stop and restart (1997)
Accessing Server Environment Variables (2003)
WebTen and WebCat (1997)
[WriteFile] problems (1997)
[shownext] and descending order (1997)
SiteEdit NewFile.html ? (1997)
passing cart value (2003)
RE: WebDNA-Talk searchable? (1997)
Bug Report, maybe (1997)
Bad suffix error (1997)
Multiple cart additions (1997)
Re:2nd WebCatalog2 Feature Request (1996)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Alternating colors (1997)
Not really WebCat - need HTML Grider (1997)
[Announce]: Web server security and password protection (1997)
Nested vs conditional (1997)
[WebDNA] Debian Lenny, Lighttpd and WebDNA FastCGI ... (2010)