Re: [WebDNA] [BULK] search tag just not working

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109015
interpreted = N
texte = Old versions of WebDNA (maybe all versions?) ignore the last record when it is not followed by a newline character, so you must insure that a new line character appears after the last value in the database. If you still have a problem make sure the value of SKUT is really "1" and not "1 " or " 1" or " 1 " or something similar. If you still have a problem try adding "&SKUTtype=num" to your search parameters. And if you still have a problem try changing the field name from SKUT to something else. Don't forget to [flushdatabases] at the bottom of every test template until you get it working properly. Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Hi All, > > Can anyone see a problem here? > It's a simple search of a database. > It returns 0 as [numfound] and does not return data > from the field PARTPRICE1 Thanks much, > sfb > > > > > [search db=temp.db&geSKUTdata=1&max=1] > [numfound] > [founditems] > [PARTPRICE1] > [/founditems][/search] > > > > Contents of temp.db: > > SKUTPARTQUANITY1 PART1PARTNUM1PARTPRICE1 > 11 Balance of timesheet from March, > 201213.14 > > --------------------------------------------------------- > 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [BULK] search tag just not working (WebDNA Solutions 2012)
  2. [BULK] Re: [WebDNA] [BULK] search tag just not working (Toby Cox 2012)
  3. [WebDNA] [BULK] search tag just not working (Stephen Braun 2012)
Old versions of WebDNA (maybe all versions?) ignore the last record when it is not followed by a newline character, so you must insure that a new line character appears after the last value in the database. If you still have a problem make sure the value of SKUT is really "1" and not "1 " or " 1" or " 1 " or something similar. If you still have a problem try adding "&SKUTtype=num" to your search parameters. And if you still have a problem try changing the field name from SKUT to something else. Don't forget to [flushdatabases] at the bottom of every test template until you get it working properly. Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Hi All, > > Can anyone see a problem here? > It's a simple search of a database. > It returns 0 as [numfound] and does not return data > from the field PARTPRICE1 Thanks much, > sfb > > > > > [search db=temp.db&geSKUTdata=1&max=1] > [numfound] > [founditems] > [PARTPRICE1] > [/founditems][/search] > > > > Contents of temp.db: > > SKUTPARTQUANITY1 PART1PARTNUM1PARTPRICE1 > 11 Balance of timesheet from March, > 201213.14 > > --------------------------------------------------------- > 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 WebDNA Solutions

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:

Only charge card when product shipped ? (1997) Webstar 1.3.1 PPC (1997) mySQL/OSX (2001) [group] ? (1997) Num Sort Descending (OT) (2004) File Upload and Platform (2001) shopping cart bug? or link? (1999) Missing contexts on NT (1997) [WebDNA] cPanel (2012) Problems with [Search] param - Mac Plugin b15 (1997) Adding up line items. (2000) Separate SSL Server (1997) Setting Lineitems (2005) Sendmail (1997) Chatroom (2000) showif (1999) Thanks and Big News!!! (1997) cart info (1998) Shipcost lookup? (1997) There's a bug in the math context ... (1997)