[WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103229
interpreted = N
texte = I am really surprised to see this behavior: This: [lookup db=^db/aaa.db&lookInField=bbb&value=[URL][ccc][/ URL]&returnField=ddd¬Found=eee] returns: eee But this: [lookup db=^db/ aaa.db&lookInField=bbb&value=[ccc]&returnField=ddd¬Found=eee] returns: the value I expect (the value for [ddd] in the found record). So then won't the latter (working) lookup break when the 'bbb' field may contain an "&" char (when we don't use [url])?! I can work around with [search].. but what if I need the speed of the [lookup]? -- Can anyone confirm this? Comment? -John Associated Messages, from the most recent to the oldest:

    
I am really surprised to see this behavior: This: [lookup db=^db/aaa.db&lookInField=bbb&value=[url][ccc][/ URL]&returnField=ddd¬Found=eee] returns: eee But this: [lookup db=^db/ aaa.db&lookInField=bbb&value=[ccc]&returnField=ddd¬Found=eee] returns: the value I expect (the value for [ddd] in the found record). So then won't the latter (working) lookup break when the 'bbb' field may contain an "&" char (when we don't use [url])?! I can work around with [search].. but what if I need the speed of the [lookup]? -- Can anyone confirm this? Comment? -John John Butler

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:

tcpconnect feature request .. (2003) Re:2nd WebCatalog2 Feature Request (1996) 5.0 Preview Promotion Extension (2003) php vs WebCatalog (2000) [WebDNA] Authorize.net and [tcpconnect] (2016) Summing fields (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Using Plug-In while running 1.6.1 (1997) quitting (1997) auto enter dates (1998) OLD ORDERS (1998) Re:no template caching (1997) Is this possible, WebCat2.0 and checkboxes (1997) WCS Newbie question (1997) [UPPERCASE] (1997) SetHeader (1997) Spaces inside [AppendFile] (1998) WCS Newbie question (1997) Emailer... DOA but still twitching (2007) GuestBook example (1997)