Re: [WebDNA] Exclude found items in a 2nd search

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112737
interpreted = N
texte = 320 --001a11401fec6ad51d053164fdb7 Content-Type: text/plain; charset=UTF-8 Not sure what happened, it seemed like adding the "startat=7" did work initially, but no more.... I may have missed matching up the items. here is my search code.: [search db=^/rs/products.db&woSECTIONSdatarq=12&SECTIONSword=ww&namewbrk=+&eqVisibledatarq=T&eqFeatureddatarq=Yes&TITLEsort=1&TITLEsdir=ra&max=6] [founditems] 6 random items shown..... [/founditems] [/search] Right beneath this I would have my 2nd search: [search db=^/rs/products.db&woSECTIONSdatarq=12&SECTIONSword=ww&namewbrk=+&eqVisibledatarq=T&eqFeatureddatarq=Yes&TITLEsort=1&TITLEsdir=ra] [founditems] Show all other items omitting the 6 found above.... [/founditems] [/search] All this takes place on the exact same page, so cookies don't seem to be an option.... Trying the text variable route.... if I add this within the 1st search [text show=T]found=[SKU][/text] shows me the SKUs of the 6 chosen randomly in that 1st search, but how would I place all 6 of those SKUs within that 2nd search? &neSKUdatarq=[found] is what I was thinking, but that can't work on 6 SKUs On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan wrote: > Hi, you could also use a hidden input to keep the previous IDs and exclude > them from next search > Lawrence > > 2016-04-26 14:57 GMT+02:00 Terry Wilson : > >> But you said you were searching for random results. I don't see how this >> would work. >> >> You could collect the record IDs from the first search in a cookie, and >> exclude those from the second search, or if on the same page, collect them >> in a text variable. >> >> Terry >> >> Sent from my iPad >> >> On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski >> wrote: >> >> Well all righty... >> >> That "startat=7" seems to work just fine with that 2nd search/results etc. >> >> Thanks >> >> >> On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke wrote: >> >>> Richard, >>> >>> Hi - if you have the same search and sorting criteria, then add: >>> >>> &startat=7 >>> >>> to your second search. >>> >>> - Tom >>> >>> >>> >>> --------------------------------------------------------- This message >>> is sent to you because you are subscribed to the mailing list . To >>> unsubscribe, E-mail to: archives: >>> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >>> support@webdna.us >> >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > --001a11401fec6ad51d053164fdb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not sure what happened, it seemed like adding the "st= artat=3D7" did work initially, but no more.... I may have missed match= ing up the items.

here is my search code.:

[search db=3D^/rs/products.db&woSECTION= Sdatarq=3D12&SECTIONSword=3Dww&namewbrk=3D+&eqVisibledatarq=3DT= &eqFeatureddatarq=3DYes&TITLEsort=3D1&TITLEsdir=3Dra&max=3D= 6]
[founditems]
6 random items shown.....
[/founditems]
[/search]


= Right beneath this I would have my 2nd search:

[se= arch db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww&= amp;namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TIT= LEsort=3D1&TITLEsdir=3Dra]
[founditems]
Show al= l other items omitting the 6 found above....
[/founditems]
<= div>[/search]


All this takes = place on the exact same page, so cookies don't seem to be an option....=

Trying the text variable route.... if I add this = within the 1st search
[text show=3DT]found=3D[SKU][/text]
shows me the SKUs of the 6 chosen randomly in that 1st search, but h= ow would I place all 6 of those SKUs within that 2nd search?
=
&neSKUdatarq=3D[found] is what I was thinking, but that = can't work on 6 SKUs



=

On Tue, Apr= 26, 2016 at 8:09 AM, Lawrence Banahan <banahan.l@gmail.com> wrote:
Hi, you c= ould also use a hidden input to keep the previous IDs and exclude them from= next search
Lawrence
<= /span>

2016-04-26 14:57 GMT+02:00 Terry Wilson = <terry@terryfic.com>:
But you said you were searching for random results. I d= on't see how this would work.

You could collec= t the record IDs from the first search in a cookie, and exclude those from = the second search, or if on the same page, collect them in a text variable.=

Terry

Sent from my iPad

On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski <richiekwas@gmail.com> wrot= e:

Well a= ll righty...

That "startat=3D7" seems to= work just fine with that 2nd search/results etc.

= Thanks


On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke <tom@revol= utionaries.ie> wrote:
Richard,

Hi - if you have the same search an= d sorting criteria, then add:

=C2=A0 =C2=A0&st= artat=3D7

to your second search.

- Tom



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a11401fec6ad51d053164fdb7-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Exclude found items in a 2nd search ("Terry Wilson" 2016)
  2. Re: [WebDNA] Exclude found items in a 2nd search (Richard Kwasniewski 2016)
  3. Re: [WebDNA] Exclude found items in a 2nd search ("Terry Wilson" 2016)
  4. Re: [WebDNA] Exclude found items in a 2nd search (Richard Kwasniewski 2016)
  5. Re: [WebDNA] Exclude found items in a 2nd search ("Terry Wilson" 2016)
  6. Re: [WebDNA] Exclude found items in a 2nd search (Richard Kwasniewski 2016)
  7. Re: [WebDNA] Exclude found items in a 2nd search (Lawrence Banahan 2016)
  8. Re: [WebDNA] Exclude found items in a 2nd search (Terry Wilson 2016)
  9. Re: [WebDNA] Exclude found items in a 2nd search (Richard Kwasniewski 2016)
  10. Re: [WebDNA] Exclude found items in a 2nd search (Tom Duke 2016)
  11. [WebDNA] Exclude found items in a 2nd search (Richard Kwasniewski 2016)
320 --001a11401fec6ad51d053164fdb7 Content-Type: text/plain; charset=UTF-8 Not sure what happened, it seemed like adding the "startat=7" did work initially, but no more.... I may have missed matching up the items. here is my search code.: [search db=^/rs/products.db&woSECTIONSdatarq=12&SECTIONSword=ww&namewbrk=+&eqVisibledatarq=T&eqFeatureddatarq=Yes&TITLEsort=1&TITLEsdir=ra&max=6] [founditems] 6 random items shown..... [/founditems] [/search] Right beneath this I would have my 2nd search: [search db=^/rs/products.db&woSECTIONSdatarq=12&SECTIONSword=ww&namewbrk=+&eqVisibledatarq=T&eqFeatureddatarq=Yes&TITLEsort=1&TITLEsdir=ra] [founditems] Show all other items omitting the 6 found above.... [/founditems] [/search] All this takes place on the exact same page, so cookies don't seem to be an option.... Trying the text variable route.... if I add this within the 1st search [text show=T]found=[SKU][/text] shows me the SKUs of the 6 chosen randomly in that 1st search, but how would I place all 6 of those SKUs within that 2nd search? &neSKUdatarq=[found] is what I was thinking, but that can't work on 6 SKUs On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan wrote: > Hi, you could also use a hidden input to keep the previous IDs and exclude > them from next search > Lawrence > > 2016-04-26 14:57 GMT+02:00 Terry Wilson : > >> But you said you were searching for random results. I don't see how this >> would work. >> >> You could collect the record IDs from the first search in a cookie, and >> exclude those from the second search, or if on the same page, collect them >> in a text variable. >> >> Terry >> >> Sent from my iPad >> >> On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski >> wrote: >> >> Well all righty... >> >> That "startat=7" seems to work just fine with that 2nd search/results etc. >> >> Thanks >> >> >> On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke wrote: >> >>> Richard, >>> >>> Hi - if you have the same search and sorting criteria, then add: >>> >>> &startat=7 >>> >>> to your second search. >>> >>> - Tom >>> >>> >>> >>> --------------------------------------------------------- This message >>> is sent to you because you are subscribed to the mailing list . To >>> unsubscribe, E-mail to: archives: >>> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >>> support@webdna.us >> >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us >> > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us > --001a11401fec6ad51d053164fdb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not sure what happened, it seemed like adding the "st= artat=3D7" did work initially, but no more.... I may have missed match= ing up the items.

here is my search code.:

[search db=3D^/rs/products.db&woSECTION= Sdatarq=3D12&SECTIONSword=3Dww&namewbrk=3D+&eqVisibledatarq=3DT= &eqFeatureddatarq=3DYes&TITLEsort=3D1&TITLEsdir=3Dra&max=3D= 6]
6 random items shown.....
[/founditems]
[/search]


= Right beneath this I would have my 2nd search:

[se= arch db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww&= amp;namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TIT= LEsort=3D1&TITLEsdir=3Dra]
Show al= l other items omitting the 6 found above....
[/founditems]
<= div>[/search]


All this takes = place on the exact same page, so cookies don't seem to be an option....=

Trying the text variable route.... if I add this = within the 1st search
[text show=3DT]found=3D[SKU][/text]
shows me the SKUs of the 6 chosen randomly in that 1st search, but h= ow would I place all 6 of those SKUs within that 2nd search?
=
&neSKUdatarq=3D[found] is what I was thinking, but that = can't work on 6 SKUs



=

On Tue, Apr= 26, 2016 at 8:09 AM, Lawrence Banahan <banahan.l@gmail.com> wrote:
Hi, you c= ould also use a hidden input to keep the previous IDs and exclude them from= next search
Lawrence
<= /span>

2016-04-26 14:57 GMT+02:00 Terry Wilson = <terry@terryfic.com>:
But you said you were searching for random results. I d= on't see how this would work.

You could collec= t the record IDs from the first search in a cookie, and exclude those from = the second search, or if on the same page, collect them in a text variable.=

Terry

Sent from my iPad

On Apr 26, 2016, at 5:17 AM, Richard Kwasniewski <richiekwas@gmail.com> wrot= e:

Well a= ll righty...

That "startat=3D7" seems to= work just fine with that 2nd search/results etc.

= Thanks


On Tue, Apr 26, 2016 at 6:53 AM, Tom Duke <tom@revol= utionaries.ie> wrote:
Richard,

Hi - if you have the same search an= d sorting criteria, then add:

=C2=A0 =C2=A0&st= artat=3D7

to your second search.

- Tom



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a11401fec6ad51d053164fdb7-- . Richard Kwasniewski

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:

Show new (2003) Enhancement Request for WebCatalog-NT (1996) Error & Problem (1997) firewall ports for Mac OS X/WebCatalog (2001) International Orders (1998) how to get s repeatedly in and out of a form? (1999) New Plug-in and Type 11 errors (1997) Beta 3.0.3 fix for serial# problem (Mac) (1998) MacAuthorize order data fields WAS:How To question... (1997) LookUp Tag (1997) Problems with Price field (1997) WebCat2 beta 11 - new prefs ... (1997) OSX (2003) [WaitForFile] wait for open file, not closed file (2001) WebCat for Unix?? (1997) Seeking Better Display of results... (1997) (2003) Final Receipt (1999) Robots fill event log (1997) Three new problems, maybe a fourth (1997)