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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. 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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

Up-date for Webcatalog 2.0 (1998) interesting (2003) using showpage and showcart commands (1996) Authenticate (1997) [OT] Site test... (2003) Thanks and Big News!!! (1997) Sku numbers (1997) Rubbish in form fields (2004) Record size (1998) wish list (2002) show all problem (1997) [SearchString] problem with [search] context (1997) [WebDNA] Cost to upgrade WebDNA 6.2 to run on Win2008 / Win7 (2012) iis 4.0 (1997) Generating Report Totals (1997) RED QUESTION MARK (1999) [delete] problem (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) What am I missing (1997) Nested Loops and SHOWIFs (1997)