Re: Search Command, multiple dbs, etc. --still confused

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30891
interpreted = N
texte = Robert I am coming in late, but here's a couple things that may help you sort it all out:ANY variable named anything you want can be passed from one page to another in a link like so- somepage?var1=whatever&var2=whatever2or thru a form like so-
(user inputs value)
-another topic- webcat can retrieve the value of any variable at any time by putting the name of the var inside brackets, like so- [varname]this assumes you have a value for that var, like you just passed it from the previous page via a link or form (as just explained), or if you have given the var a value higher up on the same page using a webcat [math] or [text] context.-another topic- you can search a db using webcat either with a context or command. Commands are invoked in the link- [Author4] or thru a form-
when you use a command you just need the [founditems] loop on the next page.CONTEXTS on the other hand are invoked on the same page you put the [founditems] like so- [search db=some.db&eqAuthor1data=[Author4]] [founditems] do stuff with the record(s) found by the search [/founditems] [/search]HTH-JohnRobert McPeak wrote:> Thanks for your reply Mike. However, I'm still quite confused. I tried > using a link like you suggested on my Results.tpl page and leaving the > [search] context in my People.tpl file but it didn't return anything. > > If I am to use the command style links (as below) then how should I > modify my People.tpl page? > > I understand the need to pass the criteria to the People.tpl page. I > don't see how the link you offered does this. I'm not too sure of how > forms work. Does your suggestion involve a form that needs to be > accounted for in People.tpl? > > Thanks. ------------------------------------------------------------- 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: Search Command, multiple dbs, etc. --still confused (Bob/Amelia McPeak 2000)
  2. Re: Search Command, multiple dbs, etc. --still confused (John Butler 2000)
  3. Re: Search Command, multiple dbs, etc. --still confused (Robert McPeak 2000)
  4. Re: Search Command, multiple dbs, etc. --still confused (Mike Davis 2000)
  5. Search Command, multiple dbs, etc. --still confused (Robert McPeak 2000)
Robert I am coming in late, but here's a couple things that may help you sort it all out:ANY variable named anything you want can be passed from one page to another in a link like so- somepage?var1=whatever&var2=whatever2or thru a form like so-
(user inputs value)
-another topic- webcat can retrieve the value of any variable at any time by putting the name of the var inside brackets, like so- [varname]this assumes you have a value for that var, like you just passed it from the previous page via a link or form (as just explained), or if you have given the var a value higher up on the same page using a webcat [math] or [text] context.-another topic- you can search a db using webcat either with a context or command. Commands are invoked in the link- [Author4] or thru a form-
when you use a command you just need the [founditems] loop on the next page.CONTEXTS on the other hand are invoked on the same page you put the [founditems] like so- [search db=some.db&eqAuthor1data=[Author4]] [founditems] do stuff with the record(s) found by the search [/founditems] [/search]HTH-JohnRobert McPeak wrote:> Thanks for your reply Mike. However, I'm still quite confused. I tried > using a link like you suggested on my Results.tpl page and leaving the > [search] context in my People.tpl file but it didn't return anything. > > If I am to use the command style links (as below) then how should I > modify my People.tpl page? > > I understand the need to pass the criteria to the People.tpl page. I > don't see how the link you offered does this. I'm not too sure of how > forms work. Does your suggestion involve a form that needs to be > accounted for in People.tpl? > > Thanks. ------------------------------------------------------------- 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 John Butler

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:

Help name our technology! (1997) foreign languages, email, webcat (1998) formula??? (2000) Re1000001: Setting up shop (1997) [WebDNA] Wishlist: ignore whitespace in database changes (2016) Date or time comparisons have bugs ... (1998) expired beta (1997) I give up!! (1997) tpl and Explorer (1998) Okay, I give up... (1999) OT:Stock Quotes (2000) Overwriting databases bug in [closedatabase], garbage filescreated (1998) quantity [addlineitem] (2001) How Many SKU's is enough? (1997) [WebDNA] DNA suffix (2008) [OT] Who's got a cool link (2002) POST Datamissing? (1998) Upload and append to a db (2002) download a file (2001) locking variables? (2000)