Re: [lookup] still not working

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20664
interpreted = N
texte = On 10/24/98 6:38 AM, Mike Eberly wrote:>I tried the code that you suggested that I use, and it is not working. I >am not quite sure what I am doing wrong. I tried many different >variations of this, trying to find the problem with the code, but no >luck so far. The lookup acts as if it is finding the item that is being >looked-up in the database even though it is not there. No matter what >the value of variable [cpassword] (which is submitted on the previous >page), it always shows the first statement (which should be hidden if >the content of [cpassword] is not found in the database). Here is the >code for one of my attempts: try putting the just the [lookup] statement on the page to see what you get returned. Also put the [cpassword] on the page to see what shows up there. Also do a search for [cpassword] and display the founditems to see what you get.ie lookup, [lookup db=AKcustomers.db&lookinfield=custpassword&value=[cpassword]&returnfield=cu stpassword¬found=notfound]
cpassword, [cpassword]
[search db=akcustomers.db&eqcustpassworddata=[cpassword]] [numfound]
[founditems] [name], [custpassword]
[/founditems] [/search] This will tell you alot about your data, send it to me if it doesn't show you the answer and give me an in to the page. Robert Minor___________________________________________________________________________CyberMill Communications voice 314-962-4024 8616 Joseph Ave http://www.cybermill.com/ St. Louis, MO 63144 email: webmaster@cybermill.com ___________________________________________________________________________Purveyors of fine Websites and Webhosting services. Associated Messages, from the most recent to the oldest:

    
  1. Re: [lookup] still not working (Bob Minor 1998)
  2. [lookup] still not working (Mike Eberly 1998)
On 10/24/98 6:38 AM, Mike Eberly wrote:>I tried the code that you suggested that I use, and it is not working. I >am not quite sure what I am doing wrong. I tried many different >variations of this, trying to find the problem with the code, but no >luck so far. The lookup acts as if it is finding the item that is being >looked-up in the database even though it is not there. No matter what >the value of variable [cpassword] (which is submitted on the previous >page), it always shows the first statement (which should be hidden if >the content of [cpassword] is not found in the database). Here is the >code for one of my attempts: try putting the just the [lookup] statement on the page to see what you get returned. Also put the [cpassword] on the page to see what shows up there. Also do a search for [cpassword] and display the founditems to see what you get.ie lookup, [lookup db=AKcustomers.db&lookinfield=custpassword&value=[cpassword]&returnfield=cu stpassword¬found=notfound]
cpassword, [cpassword]
[search db=akcustomers.db&eqcustpassworddata=[cpassword]] [numfound]
[founditems] [name], [custpassword]
[/founditems] [/search] This will tell you alot about your data, send it to me if it doesn't show you the answer and give me an in to the page. Robert Minor___________________________________________________________________________CyberMill Communications voice 314-962-4024 8616 Joseph Ave http://www.cybermill.com/ St. Louis, MO 63144 email: webmaster@cybermill.com ___________________________________________________________________________Purveyors of fine Websites and Webhosting services. Bob Minor

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:

Sort Order on a page search (1997) Resolving variables into field names (1998) [WebDNA] Convert Math Date in Excel (2010) More on the email templates (1997) WebCat 5 (2003) WebCat2 - Getting to the browser's username/password data (1997) Nesting FoundItem Context (1997) Sending emails (2002) [WebDNA] Triggers.db wiped completely blank (2011) webdna email center (2003) formula inside database to calculate weights (1997) Country & Ship-to address & other fields ? (1997) webcat NT (1998) Multiple Pulldowns (1997) WebCat b13 CGI -shownext- (1997) [Sum] function? (1997) handling cookies in and out of secure space (2000) Problems passing [SKU] with $Replace in 2.0 (1997) Running 2 two WebCatalog.acgi's (1996) View Source from cache (1997)