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:

upgrading (1997) RE: ShowNext Command (1997) customer info (2001) WebCat2b15MacPlugin - [protect] (1997) Re:Comments Convertion (1998) Mystery File - Solved (2005) Automatically submitting form with web cat. (2001) & not allowed in db by definition? (1999) RE: UN-WANTED character conversion (1999) WebCat2 - [format thousands] (1997) WebCatalog/Mac 2.1b2 New Features (1997) How to delete all files in a folder? (2001) Bug Report, maybe (1997) MailScanner (2004) Help-.html extention and Serial Number not working. (2000) frames & carts (1997) webcat- multiple selection in input field (1997) can webcat create directories on NT? (1997) Multiple Passwords (1997) searching multiple databases in single search (1997)