SQL in SEARCH breaks FOUNDITEMS

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24612
interpreted = N
texte = This is happening on NT 3.0.4. I haven't tried on other platforms. This is the code:[search db=some.db&eqFieldNamedata=[inField]] [founditems] [SQL dsn=aDSN&username=u&password=faf&statement=SELECT blah blah] found [numfound] in SQL. [founditems] [name] - [value]
[/founditems] [/SQL] [/founditems] [/search]Problem: The inner SQL numfound shows the correct number but the founditems loop inside the SQL does not execute. There is no error reported. Same results if I bring the SQL out of the surrounding founditems loop, but still within the outer search context. If I bring the SQL completely outside of the search context, it works fine.Any ideas? My solution is a pain because I have to now set a bunch of text variables in the search and bury the SQL in a bunch of showifs that do what the search was doing.Mike ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: SQL in SEARCH breaks FOUNDITEMS (djones@augustmartin.net (August Martin - Dave Jones) 1999)
  2. Re: SQL in SEARCH breaks FOUNDITEMS (PCS Technical Support 1999)
  3. SQL in SEARCH breaks FOUNDITEMS (Mike_Davis 1999)
This is happening on NT 3.0.4. I haven't tried on other platforms. This is the code:[search db=some.db&eqFieldNamedata=[inField]] [founditems] [SQL dsn=aDSN&username=u&password=faf&statement=SELECT blah blah] found [numfound] in SQL. [founditems] [name] - [value]
[/founditems] [/SQL] [/founditems] [/search]Problem: The inner SQL numfound shows the correct number but the founditems loop inside the SQL does not execute. There is no error reported. Same results if I bring the SQL out of the surrounding founditems loop, but still within the outer search context. If I bring the SQL completely outside of the search context, it works fine.Any ideas? My solution is a pain because I have to now set a bunch of text variables in the search and bury the SQL in a bunch of showifs that do what the search was doing.Mike ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Mike_Davis

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:

Great product and great job ! (1997) Moment of Thanks (1997) determining plug-ins? (1998) Server IP address-thanks (2004) Nesting WebDNA in JavaScript (2003) Anyone using [sendmail] for HTML encoded mail? (2000) Major bug report on rootbeer (1997) RE: [WebDNA] HTML [sendmail] revisited (2009) StoreBuilder Q's (2003) WebCommerce: Folder organization ? (1997) WebCat2 - Getting to the browser's username/password data (1997) Now when I send TeaRoom Order fields it does not post in Invoice. (1997) Another question about credit cards (1997) Help! WebCat2 bug (1997) decrypt - encrypt (1999) Sorry I didn't pay attention-but ??? (1997) Is Webcatalog 2.1 NT Ready? (1998) [format xs] freeze (1997) [SearchString] problem with [search] context (1997)