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:

Multi-processor Mac info ... (1997) WebCat editing, SiteGuard & SiteEdit (1997) save & character in db (2005) Speed/performance issues using .hdr (1997) Multiple Attachments with Sendmail [SOLVED] (2004) Kaaaaahhhhhhhnnnnnnn! (1997) WebCat for Site Search? (1997) [listfiles] nested in a [loop] (1998) What am I missing (1997) Attn: Bug in GeneralStore example b15 (1997) [WriteFile] problems (1997) Plugin or CGI or both (1997) WebCat2b15MacPlugin - [protect] (1997) wc 2 pro users - sites, quotes wanted (1997) redirect from the errorsMessages.db entry (1997) [isfile] ? (1997) [WebDNA] A new popuated field to a DB with 700.000 records (2009) searching with groups (1997) [OT] Discussion forum, last visit, Cookie, ... (2003) textarea to page display (1998)