Re: [WebDNA] lookup in tables defined in functions - bug?

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112908
interpreted = N
texte = 495 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Are you using=20 [LOOKUP table=3D ?? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 19 Aug 2016, at 19:09, Noah Valley wrote: >=20 > Hi everybody >=20 > 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. >=20 > I tested this extensively and have an example with code here: = http://noah.mac-web.ch/lookupinfunction/ >=20 > Does anyone have a solution or explanation or did I find a bug? >=20 > 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 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Are you using 

[LOOKUP table=3D

??

Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 19 Aug 2016, at 19:09, Noah Valley <valley@mac-web.ch> = 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 <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
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 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  2. Re: [WebDNA] lookup in tables defined in functions - bug? (Stuart Tremain 2016)
  3. Re: [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  4. Re: [WebDNA] lookup in tables defined in functions - bug? (Stuart Tremain 2016)
  5. [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
495 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Are you using=20 [LOOKUP table=3D ?? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 19 Aug 2016, at 19:09, Noah Valley wrote: >=20 > Hi everybody >=20 > 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. >=20 > I tested this extensively and have an example with code here: = http://noah.mac-web.ch/lookupinfunction/ >=20 > Does anyone have a solution or explanation or did I find a bug? >=20 > 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 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Are you using 

[LOOKUP table=3D

??

Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 19 Aug 2016, at 19:09, Noah Valley <valley@mac-web.ch> = 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 <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
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 --Apple-Mail=_3799F335-0AEE-42B4-89AD-459AB7AE249D-- . Stuart Tremain

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:

Problems with [Math] (1998) Robots fill event log (1997) Authorize.Net down 2 days in row (2004) Re:trouble (1997) Followup question re: checksum for credit cards? (1997) Wrapping text (1998) Credit card processing - UK (1997) Logging purchases (1997) Deleting Orders (1998) WCS Newbie question (1997) Enhanced Master Counter? (1997) Problems with [Applescript] (1997) [urgent] Phone number at SM (2006) Search Question (2000) Redirect frame targets (1998) The IBC root beer has arrived! (1997) 3RD POST Character limit in [Search]? (1998) Answer: WebDelivery downloads alias, not original ? (1997) RE: OK, here goes... (1997) off-topic: SMS interface? (2001)