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

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112928
interpreted = N
texte = 515 You're right Noah, there should be some consistency there between=20 lookup and Search. Functions are a great tool, and how they work with other tags and=20 contexts, and how they work in general probably could use some refinement. Donovan On 2016-08-25 08:30, Noah Valley wrote: > Thanks. This works. Haven=E2=80=99t thought of it=E2=80=A6 > I still find it strange that [search] works without the > "scope=3Dglobal" though=E2=80=A6 > > Noah > >> Am 23.08.2016 um 15:42 schrieb dbrooke@euca.us: >> >> Hi Noah, >> >> Just add scope=3Dglobal to the [table] context: >> >> [table scope=3Dglobal&name=3D...] >> >> >> 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,=20 >>> but >>> not use lookup. I get a "DBError". >>> If I do the exact same outside the function it works normally like=20 >>> 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 > > > --------------------------------------------------------- > 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?=20bug=3F?= (dbrooke@euca.us 2016)
515 You're right Noah, there should be some consistency there between=20 lookup and Search. Functions are a great tool, and how they work with other tags and=20 contexts, and how they work in general probably could use some refinement. Donovan On 2016-08-25 08:30, Noah Valley wrote: > Thanks. This works. Haven=E2=80=99t thought of it=E2=80=A6 > I still find it strange that [search] works without the > "scope=3Dglobal" though=E2=80=A6 > > Noah > >> Am 23.08.2016 um 15:42 schrieb dbrooke@euca.us: >> >> Hi Noah, >> >> Just add scope=3Dglobal to the [table] context: >> >> [table scope=3Dglobal&name=3D...] >> >> >> 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,=20 >>> but >>> not use lookup. I get a "DBError". >>> If I do the exact same outside the function it works normally like=20 >>> 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 > > > --------------------------------------------------------- > 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:

Initiating NewCart (1997) Big Databases (1997) Trouble with [fileinfo] - update (2004) Who needs Yoda! (2002) CloseDatabase (1997) Help formatting search results w/ table (1997) Artwork (1997) Email within tmpl ? (1997) minimalist shopping cart. (1997) 2.0Beta Command Ref (can't find this instruction) (1997) More on the email templates (1997) The code, one more time. (2003) Nested tags count question (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) text to UTF8 (2003) Table Trouble... (2005) math on date? (1997) New Featured Site (1999) Trouble with formula.db + more explanation (1997) Snake Bites (1997)