Search inside Include

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16006
interpreted = N
texte = Is there any reason why a [search] context should not work properly inside an include.I am using the code below to establish that a user is in my database. Then I would like to search to show the full record. The code follows and it works fine in the top of a template. If I take this same code and put it into an include I get errors that indicate it is not seeing the search function. It processes that page, with an error, as if the search was not present. This same code works if I use the top two portions inside an include and leave the [search] at the top of the template below the include. I also tried using the top two portions inside and include (works fine), and put it by itself inside it's own include with only the [search] code. Doesn't work whenever the search code is in an include. What gives?? CODE expample:[showif NotFound=[lookup db=/admin/data/active.db&lookinField=UserID&value=[uppercase][username][/up percase]&returnField=UserID¬Found=NotFound]] [authenticate access] [/showif][showif [uppercase][password][/uppercase]![lookup db=/admin/data/active.db&lookinField=UserID&value=[uppercase][username][/up percase]&returnField=Pass¬Found=NotFound]] [authenticate access]
[/showif][search db=/admin/data/active.db&eqUserIDdatarq=[uppercase][username][/uppercase]&e qPassdatarq=[uppercase][password][/uppercase]] Associated Messages, from the most recent to the oldest:

    
  1. Re: Search inside Include (Grant Hulbert 1998)
  2. Re: Search inside Include (RH Prouty 1998)
  3. Re: Search inside Include (Grant Hulbert 1998)
  4. Re: Search inside Include (RH Prouty 1998)
  5. Re: Search inside Include (Grant Hulbert 1998)
  6. Search inside Include (RH Prouty 1998)
Is there any reason why a [search] context should not work properly inside an include.I am using the code below to establish that a user is in my database. Then I would like to search to show the full record. The code follows and it works fine in the top of a template. If I take this same code and put it into an include I get errors that indicate it is not seeing the search function. It processes that page, with an error, as if the search was not present. This same code works if I use the top two portions inside an include and leave the [search] at the top of the template below the include. I also tried using the top two portions inside and include (works fine), and put it by itself inside it's own include with only the [search] code. Doesn't work whenever the search code is in an include. What gives?? CODE expample:[showif NotFound=[lookup db=/admin/data/active.db&lookinField=UserID&value=[uppercase][username][/up percase]&returnField=UserID¬Found=NotFound]] [authenticate access] [/showif][showif [uppercase][password][/uppercase]![lookup db=/admin/data/active.db&lookinField=UserID&value=[uppercase][username][/up percase]&returnField=Pass¬Found=NotFound]] [authenticate access]
[/showif][search db=/admin/data/active.db&eqUserIDdatarq=[uppercase][username][/uppercase]&e qPassdatarq=[uppercase][password][/uppercase]] RH Prouty

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:

Where is f2? (1997) syntax question, not in online refernce (1997) form data submission get (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) AutoNumber not working (2004) UPS Calculator (2003) RE: Netscape v. IE (1997) [OT] Pushing Pages (2003) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Summary search -- speed (1997) Semi-OT: PanIP patent infringement case (2001) RAM variables (1997) details (2003) Search Via a drop down menu? (2000) [WebDNA] Databases not staying open (2010) Multiple SSL Keys (1998) RE: Subtotal help (1997) webcat running as www, should that be webstar for use with webstar? (2002) Poll Results (2002) Document contains no data... (1999)