Re: multiple databases

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14776
interpreted = N
texte = Gary Richter wrote:> >At 04:15 PM 11/17/97, you wrote: > >>>[search db=colors.db&eqSKUdata=[SKU]] > >>> > >> > >>Let's simplify this a bit. If you're saying that > >> > >>[search db=colors.db&eqSKUdata=dg1900] > >>[numFound] > >>[/search] > >> > >>returns 0, then you've got problems that are unrelated to nested searching > >-- the database fieldnames are messed up, or the data isn't there, or the > >database is not formatted correctly. > > > >Wow, I actually just did the [numFound] thing about 10 min ago and got 0 so > >I figured there was a problem with the fieldnames or database and was > >working on that.. > > > >Maby I am getting a little clue of how this works. > > > >Thank's! > > > >Ray > > Ray a simple tip when having search problems is show everything in the database > > ie [search db=colors&neskudata=0] or use the new blank feature > [numfound] > [/search] > > neskudata wil show every record in the color data base that does not equall > zero. > > Then insert > [founditems] > > [fieldname1]
<-where inside the [ ] is your field names > [fieldname2]
<-where inside the [ ] is your field names > etc. > [/founditems > > between the [search] [/search] > > Ie poor the data out on a page first and see what you have then start > working on tightening up the search to work the way you want it. > > As Grant says something could be wrong in the field names. I will admit > that I have mis-speeled a field name before and pulled my hair out trying > to figure out why the search didn't work. But pooring it all out proves it > is there and working correctly. Example over the weekend the field mreset > is not spelled mrset. That little e missing after the r messed me up for a > few hours :) > > from a browser just load this page because you are using the [search] > [/search] tags. > > Keep in mind that the tag [search] starts the search and the [/search] > tells it I am thru with this search and want to do something else, maybe > another search or link to another page, whatever > > It is the [founditems] that starts the looping and the [/founditems] that > tells it to go back to the upper [founditems] tag and get the next record > that matches and then do what ever is between those two tags. >Gary,Great debuging advice!Another idea that I was given was to flush my databases and my templates, seeming how i'm hitting my site about 300 times a day fixing and changing how my site looks and works. Will let you know if this fixes my problemsRay Associated Messages, from the most recent to the oldest:

    
  1. Re: Search Multiple databases ( "Eric Miller" 2005)
  2. Re: Search Multiple databases ( "Nitai @ ComputerOil" 2005)
  3. Re: Search Multiple databases ( Clint Davis 2005)
  4. Re: Search Multiple databases ( Jesse Proudman 2005)
  5. Search Multiple databases ( "Eric Miller" 2005)
  6. Referencing multiple databases... (Matthew Levy 2000)
  7. Re: Referencing multiple databases... (Dale 2000)
  8. Re: Searching Multiple Databases (Eric palhof 2000)
  9. Re: Searching Multiple Databases (Kenneth Grome 2000)
  10. Re: Searching Multiple Databases (Eric palhof 2000)
  11. Re: Searching Multiple Databases (WebDNA Support 2000)
  12. Re: Searching Multiple Databases (Eric palhof 2000)
  13. Re: Searching Multiple Databases (WebDNA Support 2000)
  14. Searching Multiple Databases (Eric palhof 2000)
  15. Re: Searching in multiple databases from a form (Maurice Rickard 1999)
  16. Searching in multiple databases from a form (Bjørn Are Solstad 1999)
  17. Re: Searching multiple databases (Kenneth Grome 1998)
  18. Re: Searching multiple databases (Kenneth Grome 1998)
  19. Searching multiple databases (Marty Schmid 1998)
  20. Re: Shopping Cart w/Multiple Databases (PCS Technical Support 1998)
  21. Re: Shopping Cart w/Multiple Databases (PCS Technical Support 1998)
  22. Shopping Cart w/Multiple Databases (Allan G. Restrepo 1998)
  23. Re: multiple databases (Kenneth Grome 1997)
  24. Re: searching multiple databases (Kenneth Grome 1997)
  25. Re: multiple databases (grichter@panavise.com (Gary Richter) 1997)
  26. Re: multiple databases (Raymond Hatch 1997)
  27. Re: searching multiple databases (Brian B. Burton 1997)
  28. Re: searching multiple databases (Raymond Hatch 1997)
  29. multiple databases (Raymond Hatch 1997)
  30. Re: multiple databases (Grant Hulbert 1997)
  31. Re: searching multiple databases (Kenneth Grome 1997)
  32. Re: searching multiple databases (Grant Hulbert 1997)
  33. searching multiple databases (Raymond Hatch 1997)
  34. Re: multiple databases (Raymond Hatch 1997)
  35. Re: searching multiple databases in single search (Sandra L. Pitner <76501.3521@CompuServe.COM> 1997)
  36. Re: searching multiple databases in single search (Kenneth Grome 1997)
  37. searching multiple databases in single search (Sandra L. Pitner <76501.3521@CompuServe.COM> 1997)
  38. Re: Searching multiple Databases (John Hill 1997)
  39. Re: Searching multiple Databases (Grant Hulbert 1997)
  40. Searching multiple Databases (Michael Winston 1997)
Gary Richter wrote:> >At 04:15 PM 11/17/97, you wrote: > >>>[search db=colors.db&eqSKUdata=[SKU]] > >>> > >> > >>Let's simplify this a bit. If you're saying that > >> > >>[search db=colors.db&eqSKUdata=dg1900] > >>[numFound] > >>[/search] > >> > >>returns 0, then you've got problems that are unrelated to nested searching > >-- the database fieldnames are messed up, or the data isn't there, or the > >database is not formatted correctly. > > > >Wow, I actually just did the [numFound] thing about 10 min ago and got 0 so > >I figured there was a problem with the fieldnames or database and was > >working on that.. > > > >Maby I am getting a little clue of how this works. > > > >Thank's! > > > >Ray > > Ray a simple tip when having search problems is show everything in the database > > ie [search db=colors&neskudata=0] or use the new blank feature > [numfound] > [/search] > > neskudata wil show every record in the color data base that does not equall > zero. > > Then insert > [founditems] > > [fieldname1]
<-where inside the [ ] is your field names > [fieldname2]
<-where inside the [ ] is your field names > etc. > [/founditems > > between the [search] [/search] > > Ie poor the data out on a page first and see what you have then start > working on tightening up the search to work the way you want it. > > As Grant says something could be wrong in the field names. I will admit > that I have mis-speeled a field name before and pulled my hair out trying > to figure out why the search didn't work. But pooring it all out proves it > is there and working correctly. Example over the weekend the field mreset > is not spelled mrset. That little e missing after the r messed me up for a > few hours :) > > from a browser just load this page because you are using the [search] > [/search] tags. > > Keep in mind that the tag [search] starts the search and the [/search] > tells it I am thru with this search and want to do something else, maybe > another search or link to another page, whatever > > It is the [founditems] that starts the looping and the [/founditems] that > tells it to go back to the upper [founditems] tag and get the next record > that matches and then do what ever is between those two tags. >Gary,Great debuging advice!Another idea that I was given was to flush my databases and my templates, seeming how i'm hitting my site about 300 times a day fixing and changing how my site looks and works. Will let you know if this fixes my problemsRay Raymond Hatch

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:

How true is this? (1999) Upgrading old WebCat Database Files (1997) Denying access by IP address (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) 2nd WebCatalog2 Feature Request (1996) UPDATE PROBLEM (1997) WebCat2b12 - nesting [tags] (1997) WebCat name recognition (was MacFinder -- a new WebDNA website) (1998) Extended [ConvertChars] (1997) If Empty ? (1997) One other big addition... (1997) WebCatalog Mac 2.1b3 (1997) Clearing orders and database help! (1997) [SearchString] problem with [search] context (1997) [WebDNA] Timer (2009) [WriteFile] problems (1997) [WebDNA] Image resizing on the fly (2012) AD Error Msg (1997) [append] and SSL (1997) Extra equals signs with IE? (More debugging questions...) (1997)