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

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112739
interpreted = N
texte = 322 --001a11c383ec80e2f705316570a0 Content-Type: text/plain; charset=UTF-8 But since I'm showing 6 random items found initially, I can't seem to grab these 6 SKUs and place them anywhere, just one. Adding [text show=T]found=[SKU][/text] just shows me the last SKU of the 6, not the other 5. I'd need the other 5 snatched up somehow Also wouldn't hidden input fields be used only if I was passing info to another page? I'm not, all this is taking place on the same page at the same time. On Tue, Apr 26, 2016 at 10:56 AM, Terry Wilson wrote: > Because your sort is random. No two searches will be the same. It seemed > to work the first time because it just didn't happen to find any of the > previous ones. Please see my previous post and the followup by Lawrence. > > Terry > > > On Tue, 26 Apr 2016 10:31:41 -0500 > Richard Kwasniewski wrote: > 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 >> >> --------------------------------------------------------- > 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 > --001a11c383ec80e2f705316570a0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
But since I'm showing 6 random items found initially, = I can't seem to grab these 6 SKUs and place them anywhere, just one.
Adding=C2=A0[text show=3D= T]found=3D[SKU][/text] just shows me the last SKU of the 6, not the other 5= ..
I'd need the other = 5 snatched up somehow
Also wouldn't hidde= n input fields be used only if I was passing info to another page? I'm = not, all this is taking place on the same page at the same time.


On Tue, Apr 26, 2016 at 10:56 AM, Terry Wilson = <terry@terryfic.com> wrote:
Because your sort is random. No two searches will be the same. It seemed= to work the first time because it just didn't happen to find any of th= e previous ones. Please see my previous post and the followup by Lawrence.<= br>
Terry


On Tue, 26 Apr 2016 10:31:41 -0500
=C2=A0Richard Kwasniewski <richiekwas@gmail.com> wrote:
=C2=A0Not sure what happened, it seemed like adding the "startat=3D7&q= uot; did
work
=C2=A0initially, but no more.... I may have missed matching up the items. =C2=A0 here is my search code.:
=C2=A0 =C2=A0[search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww= &namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI= TLEsort=3D1&TITLEsdir=3Dra&max=3D6]
=C2=A0[founditems]
=C2=A06 random items shown.....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0Right beneath this I would have my 2nd search:
=C2=A0 [search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww= &namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI= TLEsort=3D1&TITLEsdir=3Dra]
=C2=A0[founditems]
=C2=A0Show all other items omitting the 6 found above....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0All this takes place on the exact same page, so cookies don= 9;t seem to
be an
=C2=A0option....
=C2=A0 Trying the text variable route.... if I add this within the 1st
search
=C2=A0[text show=3DT]found=3D[SKU][/text]
=C2=A0shows me the SKUs of the 6 chosen randomly in that 1st search, but how
=C2=A0would I place all 6 of those SKUs within that 2nd search?
=C2=A0 &neSKUdatarq=3D[found] is what I was thinking, but that can'= t work on 6
SKUs
=C2=A0 =C2=A0 =C2=A0On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan
<banahan.l@gmai= l.com>
=C2=A0wrote:
=C2=A0
Hi, you could also use a hidden input to keep the previous IDs and exclude<= br> them from next search
Lawrence

2016-04-26 14:57 GMT+02:00 Terry Wilson <terry@terryfic.com>:

But you said you were searching for random results. I don't see how thi= s
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<= br> in a text variable.

Terry

Sent from my iPad

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

Well all righty...

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

Thanks


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

Richard,

Hi - if you have the same search and sorting criteria, then add:

=C2=A0 =C2=A0&startat=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= :
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<= /a>

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@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 --001a11c383ec80e2f705316570a0-- . 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)
322 --001a11c383ec80e2f705316570a0 Content-Type: text/plain; charset=UTF-8 But since I'm showing 6 random items found initially, I can't seem to grab these 6 SKUs and place them anywhere, just one. Adding [text show=T]found=[SKU][/text] just shows me the last SKU of the 6, not the other 5. I'd need the other 5 snatched up somehow Also wouldn't hidden input fields be used only if I was passing info to another page? I'm not, all this is taking place on the same page at the same time. On Tue, Apr 26, 2016 at 10:56 AM, Terry Wilson wrote: > Because your sort is random. No two searches will be the same. It seemed > to work the first time because it just didn't happen to find any of the > previous ones. Please see my previous post and the followup by Lawrence. > > Terry > > > On Tue, 26 Apr 2016 10:31:41 -0500 > Richard Kwasniewski wrote: > 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 >> >> --------------------------------------------------------- > 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 > --001a11c383ec80e2f705316570a0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
But since I'm showing 6 random items found initially, = I can't seem to grab these 6 SKUs and place them anywhere, just one.
Adding=C2=A0[text show=3D= T]found=3D[SKU][/text] just shows me the last SKU of the 6, not the other 5= ..
I'd need the other = 5 snatched up somehow
Also wouldn't hidde= n input fields be used only if I was passing info to another page? I'm = not, all this is taking place on the same page at the same time.


On Tue, Apr 26, 2016 at 10:56 AM, Terry Wilson = <terry@terryfic.com> wrote:
Because your sort is random. No two searches will be the same. It seemed= to work the first time because it just didn't happen to find any of th= e previous ones. Please see my previous post and the followup by Lawrence.<= br>
Terry


On Tue, 26 Apr 2016 10:31:41 -0500
=C2=A0Richard Kwasniewski <richiekwas@gmail.com> wrote:
=C2=A0Not sure what happened, it seemed like adding the "startat=3D7&q= uot; did
work
=C2=A0initially, but no more.... I may have missed matching up the items. =C2=A0 here is my search code.:
=C2=A0 =C2=A0[search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww= &namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI= TLEsort=3D1&TITLEsdir=3Dra&max=3D6]
=C2=A0[founditems]
=C2=A06 random items shown.....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0Right beneath this I would have my 2nd search:
=C2=A0 [search
=C2=A0db=3D^/rs/products.db&woSECTIONSdatarq=3D12&SECTIONSword=3Dww= &namewbrk=3D+&eqVisibledatarq=3DT&eqFeatureddatarq=3DYes&TI= TLEsort=3D1&TITLEsdir=3Dra]
=C2=A0[founditems]
=C2=A0Show all other items omitting the 6 found above....
=C2=A0[/founditems]
=C2=A0[/search]
=C2=A0 =C2=A0All this takes place on the exact same page, so cookies don= 9;t seem to
be an
=C2=A0option....
=C2=A0 Trying the text variable route.... if I add this within the 1st
search
=C2=A0[text show=3DT]found=3D[SKU][/text]
=C2=A0shows me the SKUs of the 6 chosen randomly in that 1st search, but how
=C2=A0would I place all 6 of those SKUs within that 2nd search?
=C2=A0 &neSKUdatarq=3D[found] is what I was thinking, but that can'= t work on 6
SKUs
=C2=A0 =C2=A0 =C2=A0On Tue, Apr 26, 2016 at 8:09 AM, Lawrence Banahan
<banahan.l@gmai= l.com>
=C2=A0wrote:
=C2=A0
Hi, you could also use a hidden input to keep the previous IDs and exclude<= br> them from next search
Lawrence

2016-04-26 14:57 GMT+02:00 Terry Wilson <terry@terryfic.com>:

But you said you were searching for random results. I don't see how thi= s
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<= br> in a text variable.

Terry

Sent from my iPad

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

Well all righty...

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

Thanks


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

Richard,

Hi - if you have the same search and sorting criteria, then add:

=C2=A0 =C2=A0&startat=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= :
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<= /a>

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@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 --001a11c383ec80e2f705316570a0-- . 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:

WebCat2b15MacPlugin - showing [math] (1997) Looking for work (2001) Question about replacing words (1998) [WebDNA] encrypt files/directories (2011) Date or time comparisons have bugs ... (1998) [url] (1997) Encrypt Users.db problem (1998) How many Databases can I open? (2003) Couple of questions (1999) Email Spam a bit of Hell (2004) how do ye do this?????? (2001) WebCat2 Append problem (B14Macacgi) (1997) New random discoveries? (2005) NTbeta18 corrupted? (1997) WebDNA Feature Request (2006) WCS Newbie question (1997) PIXO (1997) Export database record - append to other database (2005) [subtotal] problems -- help? (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)