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 itwas only 4 fields.But since the replacefounditems is from a search it was replacing with theversion 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 PMSubject: 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 withform> variables. Don't use the same names, since the field contents will take> precedence when within a search context. Just prepend an underscore tothe form> variable names and then everything should magically work. Actually the> [ReplaceFoundItems] _is_ working now; it is replacing the field contentswith> 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:
Grrrr .. rookie mistake. :)I was not using the formvariables loop, though I normally would, because itwas only 4 fields.But since the replacefounditems is from a search it was replacing with theversion 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 PMSubject: 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 withform> variables. Don't use the same names, since the field contents will take> precedence when within a search context. Just prepend an underscore tothe form> variable names and then everything should magically work. Actually the> [replacefounditems] _is_ working now; it is replacing the field contentswith> 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)