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:

Showif -what am I missing??? (1999) HELP WITH DATES (1997) $Quit, $CloseDatabase corrections (1997) listfiles-looking for slick solution (1997) 2.0 Info (1997) Keyword search (2004) b12 cannot limit records returned and more. (1997) OFF TOPIC: help wanted (1997) Fun with dates (1997) WebCat & WebTen (1997) AutoCommit Preference? (1998) Location of Browser Info.txt file (1997) Bug or syntax error on my part? (1997) WebStar and CopyFile (2000) WebCat2b12 - nesting [tags] (1997) RE: Credit Card Checksum (1997) REPOST: How do _you_ back up your db? (2000) Email within tmpl ? (1997) WebDNA - fun to compare (2005) Sending E-mail (1997)