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:
3.0.8 PDF Manual? Do YOU have it? :) (2000)
Grep help, please ... (2003)
multi-paragraph fields (1997)
Bug Report, maybe (1997)
[WebDNA] Was: wiki Now: Object-oriented programmng (2009)
test (2002)
Multiple prices (1997)
Surprise x and y post args (1998)
[returnraw] and form variables (1998)
emailer on Windows Beta 18 (1997)
Plugin or CGI or both (1997)
[WebDNA] WebDNA crash and now emailer not working (2009)
[WebDNA] WebDNA vs. PHP code examples (2008)
Linked lists and Recursive searching (2003)
OT: javascript help (2003)
No luck with taxes (1997)
SiteEdit Pro Update Announcement (1997)
Re:Need help... (1997)
Help with (2003)
E-mailer error codes (1997)