Re: Search Command, multiple dbs, etc. --still confused
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30894
interpreted = N
texte = John--You are a beautiful man. That's the tutorial I was looking for. Thanks!John Butler wrote:> > 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=whatever2> > or thru a form like so->
> > -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->
HREF=People.tpl?command=search&db=fitproducts.db&eqAuthor1data=[Author4]>[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> > -John> > Robert 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 -------------------------------------------------------------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:
|
- Re: Search Command, multiple dbs, etc. --still confused (Bob/Amelia McPeak 2000)
- Re: Search Command, multiple dbs, etc. --still confused (John Butler 2000)
- Re: Search Command, multiple dbs, etc. --still confused (Robert McPeak 2000)
- Re: Search Command, multiple dbs, etc. --still confused (Mike Davis 2000)
- Search Command, multiple dbs, etc. --still confused (Robert McPeak 2000)
|
John--You are a beautiful man. That's the tutorial I was looking for. Thanks!John Butler wrote:> > 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=whatever2> > or thru a form like so-> > > -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-> HREF=People.tpl?command=search&db=fitproducts.db&eqAuthor1data=[Author4]>[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> > -John> > Robert 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 -------------------------------------------------------------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
Bob/Amelia McPeak
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:
Listserver problem (1997)
How far do [showif]s go? (1997)
[BoldWords] WebCat.acgib15Mac (1997)
how to check for no value while using [URL] to prevent cr (1999)
U&P IIS concept (1998)
Need help with emailer- 2 issues (1997)
[TCPconnect].... (2001)
Math problems (1998)
[Protect] tag NOT working in 4.01 with Webstar 4.2 ! (2000)
PCS Frames (1997)
Format of Required fields error message (1997)
how do I delete 1 of 2 identical records? (2003)
Formatting of email on NT (1998)
Introduction/Tutorial/QuickStart (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Giving out error pages (1997)
Help! WebCat2 bug (1997)
Dr. Watson Error (1998)
OBDC Support (1997)
FAX orders (1996)