Re: filtering [founditems]

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58577
interpreted = N
texte = from initial [founditems]: - grab those records that have 'X' in their WHATEVER field & 'A' in their STUFF field. Put them in 'category 1'. - then grab those records that have 'Y' in their WHATEVER field & 'B' in their STUFF field. Put them in 'category 2'. - the remaining records should go in 'category 3'. - then take each record in 'category 2' and compare it to all records in 'category 1'. If text from PROBLEM field (in record from 'category 2') does not match text from PROBLEM field of any records in 'category 1' put record in 'category 3'. - combine 'category 1' and 'category 3', sort results, and display them. - give user option to display 'category 2' if needed. Something about this sounds convoluted. I may need to re-consider the logic here. But if you could just steer me towards the section of WebDNA this is referring to that would be great. Again, thanks. Jon -- Jon Young | Phil's Fonts 501 Olney Sandy Spring Road, Sandy Spring, MD 20860 tel 800-681-9375 or 301-260-2285 | fax 301-260-2277 mailto: webmaster@philsfonts.com | http://www.philsfonts.com On Jun 24, 2004, at 11:59 AM, Donovan Brooke wrote: > [table] can be handy here but you are leaving out some details.. > you say from "whatever" field.. Are these "groups" (categorys,flags) > going > to be under the same fieldname? > > Donovan > > > > Jon Young wrote: > >> Question for ya'll... >> We've a got a search working quite well. But I'd like to be able to >> work with the [founditems]. I need to filter through the [founditems] >> and separate them into different groups, based on certain conditions. >> For example, all records from [founditems] that have a X in their >> WHATEVER field should go in one group (an array maybe?). And all >> records from [founditems] that have Y in their WHATEVER field should >> go in another group. Then as we display the results of the search, we >> can display separate different groups of results... >> Can someone point me in a direction? Can you [search] through >> [founditems] to create multiple sets of [founditems]? Would I use >> Arrays in some way? Thoughts? Does anyone have sample code if they've >> done this kind of thing before? >> Thanks! >> Jon >> -- >> Jon Young | Phil's Fonts >> 501 Olney Sandy Spring Road, Sandy Spring, MD 20860 >> tel 800-681-9375 or 301-260-2285 | fax 301-260-2277 >> mailto: webmaster@philsfonts.com | http://www.philsfonts.com > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE Eucalyptus Design > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > N2862 Summerville Park Rd. > Lodi, WI 53555 > PH:> 1.608.592.3567 > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: filtering [founditems] ( Rob Marquardt 2004)
  2. Re: filtering [founditems] ( Donovan Brooke 2004)
  3. Re: filtering [founditems] ( Jon Young 2004)
  4. Re: filtering [founditems] ( Jon Young 2004)
  5. Re: filtering [founditems] ( Jon Young 2004)
  6. Re: filtering [founditems] ( Donovan Brooke 2004)
  7. Re: filtering [founditems] ( "Jesse Crofoot" 2004)
  8. filtering [founditems] ( Jon Young 2004)
from initial [founditems]: - grab those records that have 'X' in their WHATEVER field & 'A' in their STUFF field. Put them in 'category 1'. - then grab those records that have 'Y' in their WHATEVER field & 'B' in their STUFF field. Put them in 'category 2'. - the remaining records should go in 'category 3'. - then take each record in 'category 2' and compare it to all records in 'category 1'. If text from PROBLEM field (in record from 'category 2') does not match text from PROBLEM field of any records in 'category 1' put record in 'category 3'. - combine 'category 1' and 'category 3', sort results, and display them. - give user option to display 'category 2' if needed. Something about this sounds convoluted. I may need to re-consider the logic here. But if you could just steer me towards the section of WebDNA this is referring to that would be great. Again, thanks. Jon -- Jon Young | Phil's Fonts 501 Olney Sandy Spring Road, Sandy Spring, MD 20860 tel 800-681-9375 or 301-260-2285 | fax 301-260-2277 mailto: webmaster@philsfonts.com | http://www.philsfonts.com On Jun 24, 2004, at 11:59 AM, Donovan Brooke wrote: > [table] can be handy here but you are leaving out some details.. > you say from "whatever" field.. Are these "groups" (categorys,flags) > going > to be under the same fieldname? > > Donovan > > > > Jon Young wrote: > >> Question for ya'll... >> We've a got a search working quite well. But I'd like to be able to >> work with the [founditems]. I need to filter through the [founditems] >> and separate them into different groups, based on certain conditions. >> For example, all records from [founditems] that have a X in their >> WHATEVER field should go in one group (an array maybe?). And all >> records from [founditems] that have Y in their WHATEVER field should >> go in another group. Then as we display the results of the search, we >> can display separate different groups of results... >> Can someone point me in a direction? Can you [search] through >> [founditems] to create multiple sets of [founditems]? Would I use >> Arrays in some way? Thoughts? Does anyone have sample code if they've >> done this kind of thing before? >> Thanks! >> Jon >> -- >> Jon Young | Phil's Fonts >> 501 Olney Sandy Spring Road, Sandy Spring, MD 20860 >> tel 800-681-9375 or 301-260-2285 | fax 301-260-2277 >> mailto: webmaster@philsfonts.com | http://www.philsfonts.com > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE Eucalyptus Design > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > N2862 Summerville Park Rd. > Lodi, WI 53555 > PH:> 1.608.592.3567 > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Jon Young

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:

WebMerchant 1.6 and https (1997) 2.0 Info (1997) can WC render sites out? (1997) Message Board (again:-) (2000) Finding max value for a field (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) F3 crashing server (1997) RE: Re:Signal Raised (1997) Hiding Email Addresses (2003) Re1000001: Setting up shop (1997) Email (1998) Locking up with WebCatalog... (1997) replacing items in a db (2000) Quit revisited (1997) WebMerchant/Macauthorize Suggestions? (1997) Possible Shownext from Listfiles???? (2000) Country & Ship-to address & other fields ? (1997) [shell] (2002) Latin Characters (1998) Relevancy Rating (1998)