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

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112912
interpreted = N
texte = 499 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey Stuart, "preparse=3DT=E2=80=9C does fix it but other problems come up with that = solution. I don=E2=80=99t want to preparse. What strikes me as weird is that [search] works perfectly fine but = [lookup] does not. It just looks like a bug to me. If Donovan or anyone finds the time to lookup at it, that would be = great. Still my whole code raw and executed ist here: = http://noah.mac-web.ch/lookupinfunction/ = Thx Noah > Am 23.08.2016 um 00:23 schrieb Stuart Tremain : >=20 > Hi Noah >=20 > This will fix it. >=20 >=20 > [function name=3Dshowkurs&preparse=3DT] >=20 >=20 > Add preparse=3DT to the function :) >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 23 Aug 2016, at 06:12, Noah Valley > wrote: >>=20 >> Yes. Look at the example I linked: = http://noah.mac-web.ch/lookupinfunction/ = >> The raw-code is there as well=E2=80=A6 >> I guess its a bug cause nobody seems to know an answer=E2=80=A6 :-) >>=20 >> Thx. >> Noah >>=20 >>> Am 20.08.2016 um 02:07 schrieb Stuart Tremain >: >>>=20 >>> Are you using=20 >>>=20 >>> [LOOKUP table=3D >>>=20 >>> ?? >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>> 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 >>>=20 >>> --------------------------------------------------------- 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 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hey Stuart,

"preparse=3DT=E2=80=9C does fix it but other problems = come up with that solution. I don=E2=80=99t want to preparse.

What strikes me as weird = is that [search] works perfectly fine but [lookup] does not. It just = looks like a bug to me.

If Donovan or anyone finds the time to lookup at it, that = would be great.
Still my whole code raw and = executed ist here: http://noah.mac-web.ch/lookupinfunction/


Thx
Noah


Am 23.08.2016 um 00:23 schrieb = Stuart Tremain <webdna@idfk.com.au>:

Hi Noah

This will fix = it.


[function = name=3Dshowkurs&preparse=3DT]


Add preparse=3DT to the function :)


Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 23 Aug 2016, at 06:12, Noah Valley <valley@mac-web.ch> = wrote:

Yes. Look at = the example I linked: http://noah.mac-web.ch/lookupinfunction/
The= raw-code is there as well=E2=80=A6
I guess its a = bug cause nobody seems to know an answer=E2=80=A6 :-)

Thx.
Noah

Am 20.08.2016 um 02:07 schrieb Stuart Tremain <webdna@idfk.com.au>:

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

--------------------------------------------------------- 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 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB-- . 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)
499 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey Stuart, "preparse=3DT=E2=80=9C does fix it but other problems come up with that = solution. I don=E2=80=99t want to preparse. What strikes me as weird is that [search] works perfectly fine but = [lookup] does not. It just looks like a bug to me. If Donovan or anyone finds the time to lookup at it, that would be = great. Still my whole code raw and executed ist here: = http://noah.mac-web.ch/lookupinfunction/ = Thx Noah > Am 23.08.2016 um 00:23 schrieb Stuart Tremain : >=20 > Hi Noah >=20 > This will fix it. >=20 >=20 > [function name=3Dshowkurs&preparse=3DT] >=20 >=20 > Add preparse=3DT to the function :) >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 23 Aug 2016, at 06:12, Noah Valley > wrote: >>=20 >> Yes. Look at the example I linked: = http://noah.mac-web.ch/lookupinfunction/ = >> The raw-code is there as well=E2=80=A6 >> I guess its a bug cause nobody seems to know an answer=E2=80=A6 :-) >>=20 >> Thx. >> Noah >>=20 >>> Am 20.08.2016 um 02:07 schrieb Stuart Tremain >: >>>=20 >>> Are you using=20 >>>=20 >>> [LOOKUP table=3D >>>=20 >>> ?? >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>> 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 >>>=20 >>> --------------------------------------------------------- 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 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hey Stuart,

"preparse=3DT=E2=80=9C does fix it but other problems = come up with that solution. I don=E2=80=99t want to preparse.

What strikes me as weird = is that [search] works perfectly fine but [lookup] does not. It just = looks like a bug to me.

If Donovan or anyone finds the time to lookup at it, that = would be great.
Still my whole code raw and = executed ist here: http://noah.mac-web.ch/lookupinfunction/


Thx
Noah


Am 23.08.2016 um 00:23 schrieb = Stuart Tremain <webdna@idfk.com.au>:

Hi Noah

This will fix = it.


[function = name=3Dshowkurs&preparse=3DT]


Add preparse=3DT to the function :)


Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 23 Aug 2016, at 06:12, Noah Valley <valley@mac-web.ch> = wrote:

Yes. Look at = the example I linked: http://noah.mac-web.ch/lookupinfunction/
The= raw-code is there as well=E2=80=A6
I guess its a = bug cause nobody seems to know an answer=E2=80=A6 :-)

Thx.
Noah

Am 20.08.2016 um 02:07 schrieb Stuart Tremain <webdna@idfk.com.au>:

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

--------------------------------------------------------- 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 --Apple-Mail=_9456B81F-A888-46FA-AD55-185E4EA827AB-- . Noah Valley

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:

WebCat2b15MacPlugin - [protect] (1997) Generating Options for a Form. (1997) Sorting nested search (2003) ListFiles Bug (1998) Re:no [search] with NT (1997) b12 cannot limit records returned and more. (1997) quantity minimum problem (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] [announce] CICADA Gold Products (2009) converchars in sendmail context.... (2004) 'Used Car Showroom' Code (2002) WebCat2 several catalogs? (1997) WebCat2: Found Items syntax, etc. (1997) docs for WebCatalog2 (1997) OT ImageMagick on OS X (2003) moving to Redhat Enterprise 3 when is WebDNA 5.2? (2003) access denied problem (1997) time and welcome (1999) Emailer help....! (1997) Dynamic PDFs? (2002)