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:

Probably a very simple question? (1997) Re[3]: Charting records by state (2000) Error with [applescript] (1999) [WebDNA] [OT] the "Work in progress" thread. (2009) CT Scan might have saved my life!! (2006) Search as error page (2002) Longer .extensions with Windows? (1998) A question on sub-categories (1997) Checking for blank form fields (sort of...) (1998) WC1.6 to WC2 date formatting -FIXED! (1997) Exists? (1997) transferring values (1998) Re:1 cent answer? (1998) Showif for mulitple variations (1997) Caching [include] files ... (1997) question: back button prevention (1997) Location of Browser Info.txt file (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) SiteGuard Admin Feature ? (1997) For those of you not on the WebCatalog Beta... (1997)