Re: I'm having trouble using [url][interpret][math] together inlookup
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13439
interpreted = N
texte = >[category[math]This is not allowed, but [category][math] is fine. I think I can simplify your WebDNA quite a bit, since in your case the [interpret] and even the [url] are not needed. Even the [math] would not be needed except it looks like you're trying to carry a different [index] in from an outside loop, so I'll leave that in.[lookup db=MYDATA.db&lookInField=USERCHOICE&value=[category][math]loopnumber[/math]&returnField=CODE¬Found=Err!]You don't need [interpret] because that is already implied (there are only a few special cases where it is needed). You don't need [url], because WebCatalog is smart enough to allow spaces and such inside embedded WebDNA...unless your category field contains '&', in which case I'll shut up and you can put it back in.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
|
- Re: I'm having trouble using [url][interpret][math] together inlookup (Grant Hulbert 1997)
|
>[category
[math]This is not allowed, but [category]
[math] is fine. I think I can simplify your WebDNA quite a bit, since in your case the
[interpret] and even the
[url] are not needed. Even the
[math] would not be needed except it looks like you're trying to carry a different [index] in from an outside loop, so I'll leave that in.[lookup db=MYDATA.db&lookInField=USERCHOICE&value=[category]
[math]loopnumber[/math]&returnField=CODE¬Found=Err!]You don't need
[interpret] because that is already implied (there are only a few special cases where it is needed). You don't need
[url], because WebCatalog is smart enough to allow spaces and such inside embedded WebDNA...unless your category field contains '&', in which case I'll shut up and you can put it back in.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, 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:
Wrapping text (1998)
Some ThankYou page problems (1997)
HTML mapped to WebCat (2001)
different sized random banners (2003)
Here's how to kill a Butler Database. (1997)
100% CPU (2003)
Fun with Dates - revisited (1997)
Emailer 1.01 bombs (1997)
Running _every_ page through WebCat-error.html (1997)
Generating Report Totals (1997)
Artwork (1997)
Running 2 two WebCatalog.acgi's (1996)
Confirming a bug/oddity (2003)
Documentation Feedback (1997)
strange IE 4.0 (1998)
Re:Emailer and encryption (1997)
f2 download problems (1997)
Adding Items to Cart (2003)
Show shoppingcart after remove last item (1997)
Setting a text Var inside an orderfile (2002)