Re: [WebDNA] group searching not working as expected.

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 106056
interpreted = N
texte = That happens to me all the time. I have to make sure that Owner, Group, and You, can all read and write. I use the Apple Get info dialog for each DB. Be sure to close the database [closedatabase] before checking your changes because if the DB is in memory it does not seem to recognize the permission changes. frank On Dec 28, 2010, at 2:15 PM, Govinda wrote: > Hi everyone > > version=6.0 > platform=unix-Linux Intel RedHat > > I hit a wall with group searching which I did not expect. > Can you guys confirm the behavior so I can move on to tackling the > problem another way? (Meanwhile I keep thinking group searching > *should* work the way I want, no?) > > imagine a db like so: > > ==================== START my.db ============================== > feeled1_Fruitfeeled2_WhereGrownfeeled3_HowUsed > 1applewashingtonbaked dessert > 2bananaecuadorbreakfast > 3cherrycaliforniabaked dessert > 4mangoindiaspecial treat > 5pineapplehawaiisweet indian curry > 6blueberrycaliforniabaked dessert > ==================== END my.db ================================ > > We would think that this: > [search > db=my.db&group1field=feeled1_Fruit&group2field=feeled1_Fruit&eqgroup1d > ata=1apple&eqgroup2data=3cherry&wsfeeled3_HowUseddatarq=[URL]baked > dessert[/URL]&max=500] > > ...should return the 1st and 3rd record, correct? > > But it returns the 1st, 3rd, and 6th records. > > If you were coding this, how would you write this search so that it > finds ONLY record #1 & #3, using grouped fields? > > (I need to be able to tell the search to return records where: > -[feeled3_HowUsed] = baked dessert, *AND* > -[feeled1_Fruit] = (*either* "1apple" or "3cherry" or "4mango" > > ...which is only records #1 and #3.) > > ------------ > Govinda > > > > > > > --------------------------------------------------------- > 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 > > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] group searching not working as expected. (Govinda 2010)
  2. Re: [WebDNA] group searching not working as expected. (Terry Wilson 2010)
  3. Re: [WebDNA] group searching not working as expected. (Govinda 2010)
  4. Re: [WebDNA] group searching not working as expected. ("Terry Wilson" 2010)
  5. Re: [WebDNA] group searching not working as expected. (Govinda 2010)
  6. Re: [WebDNA] group searching not working as expected. (Kenneth Grome 2010)
  7. Re: [WebDNA] group searching not working as expected. (Govinda 2010)
  8. Re: [WebDNA] group searching not working as expected. (frank@cwolfe.com 2010)
  9. [WebDNA] group searching not working as expected. (Govinda 2010)
That happens to me all the time. I have to make sure that Owner, Group, and You, can all read and write. I use the Apple Get info dialog for each DB. Be sure to close the database [closedatabase] before checking your changes because if the DB is in memory it does not seem to recognize the permission changes. frank On Dec 28, 2010, at 2:15 PM, Govinda wrote: > Hi everyone > > version=6.0 > platform=unix-Linux Intel RedHat > > I hit a wall with group searching which I did not expect. > Can you guys confirm the behavior so I can move on to tackling the > problem another way? (Meanwhile I keep thinking group searching > *should* work the way I want, no?) > > imagine a db like so: > > ==================== START my.db ============================== > feeled1_Fruitfeeled2_WhereGrownfeeled3_HowUsed > 1applewashingtonbaked dessert > 2bananaecuadorbreakfast > 3cherrycaliforniabaked dessert > 4mangoindiaspecial treat > 5pineapplehawaiisweet indian curry > 6blueberrycaliforniabaked dessert > ==================== END my.db ================================ > > We would think that this: > [search > db=my.db&group1field=feeled1_Fruit&group2field=feeled1_Fruit&eqgroup1d > ata=1apple&eqgroup2data=3cherry&wsfeeled3_HowUseddatarq=[url]baked > dessert[/URL]&max=500] > > ...should return the 1st and 3rd record, correct? > > But it returns the 1st, 3rd, and 6th records. > > If you were coding this, how would you write this search so that it > finds ONLY record #1 & #3, using grouped fields? > > (I need to be able to tell the search to return records where: > -[feeled3_HowUsed] = baked dessert, *AND* > -[feeled1_Fruit] = (*either* "1apple" or "3cherry" or "4mango" > > ...which is only records #1 and #3.) > > ------------ > Govinda > > > > > > > --------------------------------------------------------- > 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 > > frank@cwolfe.com

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:

3.08 has trouble keeping the serial # ?? (2000) Re2: AAgghh!! Help, please. SSL strikes again. (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) PCS Frames (1997) unable to launch acgi in WebCat (1997) SKU generator? (1998) ShowIf & CountChars (2000) Re[2]: Re[2]: WebCatalog on Linux (2000) [WebDNA] Ubuntu 18.04 & Apache2 & WebDNA fcgi - File upload error (2019) 404 error page issue (2006) Quit revisited (1997) db protection on NT (1997) calculating tax rates, mail order solutions and version 2 (1997) Help name our technology! I found it (1997) Installing WebDNA on Linux (2007) WebCat B13 Mac CGI -- Frames question (1997) RePost: NAT and the CART (1999) [delete] problem (1997) Exporting from Excel (1998) Configuration Q (1998)