Re: Replacefounditems

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52670
interpreted = N
texte = Grrrr .. rookie mistake. :) I was not using the formvariables loop, though I normally would, because it was only 4 fields. But since the replacefounditems is from a search it was replacing with the version of the variables from the database. So in essence you were correct. One of those days. Thanks. RonnyMc ----- Original Message ----- From: "John Peacock" To: "WebDNA Talk" Sent: Friday, September 05, 2003 1:58 PM Subject: Re: Replacefounditems > WebDna @ wrote: > > Actual code: > > [search db=./admin/rsvp.txt&eqVIPdatarq=[code]] > > [replacefounditems]Status=[status]&EMAIL=[email]&GUEST_FNAME=[url][GUEST_FNA > > ME][/url]&GUEST_LNAME=[url][GUEST_LNAME][/url][/replacefounditems] > > [/search] > > I have to guess that you are trying to replace the field contents with form > variables. Don't use the same names, since the field contents will take > precedence when within a search context. Just prepend an underscore to the form > variable names and then everything should magically work. Actually the > [ReplaceFoundItems] _is_ working now; it is replacing the field contents with > itself... > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > > > ------------------------------------------------------------- > 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: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  2. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  3. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  4. Re: [WebDNA] Help with ReplaceFoundItems ("Dan Strong" 2009)
  5. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  6. Re: [WebDNA] Help with ReplaceFoundItems (Terry Wilson 2009)
  7. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  8. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  9. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  10. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  11. Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  12. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  13. Re: [WebDNA] Help with ReplaceFoundItems (Kenneth Grome 2009)
  14. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  15. Re: [WebDNA] Help with ReplaceFoundItems (Govinda 2009)
  16. Re: New: Re: [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  17. New: Re: [WebDNA] Help with ReplaceFoundItems (Donovan Brooke 2009)
  18. [WebDNA] Help with ReplaceFoundItems (Rob 2009)
  19. Re: ReplaceFoundItems ( "WebDna @ Inkblot Media" 2006)
  20. Re: ReplaceFoundItems ( Stuart Tremain 2006)
  21. Re: ReplaceFoundItems ( "WebDna @ Inkblot Media" 2006)
  22. Re: ReplaceFoundItems ( "Gary Krockover" 2006)
  23. ReplaceFoundItems ( "MARK BERGKVIST" 2006)
  24. Re: ReplaceFoundItems Problem ( Rob Marquardt 2003)
  25. Re: ReplaceFoundItems Problem ( Brian Fries 2003)
  26. Re: ReplaceFoundItems Problem ( Justin Carroll 2003)
  27. Re: ReplaceFoundItems Problem ( John Peacock 2003)
  28. ReplaceFoundItems Problem ( Justin Carroll 2003)
  29. Re: Replacefounditems ( "WebDna @" 2003)
  30. Re: Replacefounditems ( John Peacock 2003)
  31. Replacefounditems ( "WebDna @" 2003)
  32. Re: SMSI: closedatabase then replacefounditems inside the same search context ... (Kenneth Grome 2002)
  33. Re: SMSI: closedatabase then replacefounditems inside thesame searchcontext ... (John Peacock 2002)
  34. SMSI: closedatabase then replacefounditems inside the samesearch context ... (Kenneth Grome 2002)
Grrrr .. rookie mistake. :) I was not using the formvariables loop, though I normally would, because it was only 4 fields. But since the replacefounditems is from a search it was replacing with the version of the variables from the database. So in essence you were correct. One of those days. Thanks. RonnyMc ----- Original Message ----- From: "John Peacock" To: "WebDNA Talk" Sent: Friday, September 05, 2003 1:58 PM Subject: Re: Replacefounditems > WebDna @ wrote: > > Actual code: > > [search db=./admin/rsvp.txt&eqVIPdatarq=[code]] > > [replacefounditems]Status=[status]&EMAIL=[email]&GUEST_FNAME=[url][GUEST_FNA > > ME][/url]&GUEST_LNAME=[url][GUEST_LNAME][/url][/replacefounditems] > > [/search] > > I have to guess that you are trying to replace the field contents with form > variables. Don't use the same names, since the field contents will take > precedence when within a search context. Just prepend an underscore to the form > variable names and then everything should magically work. Actually the > [replacefounditems] _is_ working now; it is replacing the field contents with > itself... > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > > > ------------------------------------------------------------- > 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/ "WebDna @"

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:

5.0 Pricing (2003) Webcatalog/ColdFusion/Tango (1998) A Sensible Suggestion. Was: Major problem (1999) Likelihood of a duplicate (2005) Re:Replace command help (1998) CART question (2004) carrying values forward (1998) Trigger time setting (2002) RE: automatic reload of frameset (1997) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) BUG REPORT: numeric ge, le, gr & ls comparisons don't work ... (1999) OT Pager notification of completed orders (1998) Is the list server working? (1998) Copyfile to length limit for absolute paths (2003) WCS Newbie question (1997) Loops and [index] (1998) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) P2: How to make webcatalog more stable. - LONG (1999) emailer w/F2 (1997) Browser frames and URLs in the Location field (2004)