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:

Strange intermittent WebDNA problems (2008) intel mac (2006) Multiple security dbs (1997) Help! WebCat2 bug (1997) RE: AccountAuthorizer doesn't seem to work (1997) sorting dates (1999) Mail Integration (1999) Setting up WebCatalog with Retail Pro data (1996) Weird problems with [SHOWIF]s (1997) Hiding the URL(was Cart ID Duplication) (2001) Re:no template caching (1997) Secure server question (1997) Referrer from multiple entry points (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Quit revisited (1997) TaxTotal Problem (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) WCS Newbie question (1997) webcat license???? (1997) Closing Databases (1998)