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:
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)