Re: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?=

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112913
interpreted = N
texte = 500 Hi Noah, Just add scope=global to the [table] context: [table scope=global&name=...] Donovan On 2016-08-19 04:09, Noah Valley wrote: > Hi everybody > > I found the following: > Whenever I define a table inside a function, I can search in it, but > not use lookup. I get a "DBError". > If I do the exact same outside the function it works normally like it > should. > > I tested this extensively and have an example with code here: > http://noah.mac-web.ch/lookupinfunction/ > > Does anyone have a solution or explanation or did I find a bug? > > Thanks > Noah > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?= (dbrooke@euca.us 2016)
  2. Re: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?= (dbrooke@euca.us 2016)
500 Hi Noah, Just add scope=global to the [table] context: [table scope=global&name=...] Donovan On 2016-08-19 04:09, Noah Valley wrote: > Hi everybody > > I found the following: > Whenever I define a table inside a function, I can search in it, but > not use lookup. I get a "DBError". > If I do the exact same outside the function it works normally like it > should. > > I tested this extensively and have an example with code here: > http://noah.mac-web.ch/lookupinfunction/ > > Does anyone have a solution or explanation or did I find a bug? > > Thanks > Noah > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . dbrooke@euca.us

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:

Keep away (1997) Pull Down Search (2000) Emailer (WebCat2) (1997) Security for malls with different webmasters (1998) includes (2003) More news on 5.0 (2003) Site Builder & IE Mac (2004) WebDNA Grep help wanted (2004) syntax question, not in online refernce (1997) Searching,Brain Dead! (1999) Running a store on BOTH http and https (1998) Troubles with Selection Drop Down List Search (1998) can WC render sites out? (1997) WebCat for Site Search? (1997) I got caught! (2003) Separate SSL Server (1997) service stop and restart (1997) Multiple prices (1997) Document Contains No Data (1998) Possible Bug in 2.0b15.acgi (1997)