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:

lookup and two records? (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) FRAMES and CART tags problem??!? (1999) [SHOWIF] (1997) Credit card types (1997) [BULK] [WebDNA] Anyone using WebDNA7 and Lion Server? (2011) Version f1 status (1997) Press Release hit the NewsWire!!! (1997) WebCatalog can't find database (1997) Nested vs conditional (1997) [WebDNA] Double sendmails (2014) Purchased cart being overwritten (1997) webcat2b12 CGI -- Date comparisons (1997) Emailer (1997) taxTotal, grandTotal (1997) Regarding PayPal (was Payments -> Bank Accounts) (2005) Car Database (2002) Help formatting search results w/ table (1997) Multiple download orders of the same product? (1997) European Dates (1998)