Re: $Replace with [founditems]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10815
interpreted = N
texte = >I am trying to replace a db record and then display a template with>[founditems] so I can use [xxx] tags on that template. Works fine with>$Search but not with $Replace (it will not show anything between>[founditems] [/founditems]. Here's the code on the page that replaces>the record and goes to the next template:$Replace will replace all the records you specify, but it has nothing to do with [FoundItems] -- that only works after a $Search or inside an embedded [Search]. I suggest you embed a complete [search] context on the page you go to after the $Replace.[Search db=xx&whatever][FoundItems][/FoundItems][/Search]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>I am trying to replace a db record and then display a template with>
[founditems] so I can use [xxx] tags on that template. Works fine with>$Search but not with $Replace (it will not show anything between>
[founditems] [/founditems]. Here's the code on the page that replaces>the record and goes to the next template:$Replace will replace all the records you specify, but it has nothing to do with
[founditems] -- that only works after a $Search or inside an embedded
[search]. I suggest you embed a complete
[search] context on the page you go to after the $Replace.[Search db=xx&whatever]
[founditems][/FoundItems][/Search]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
Extended [ConvertChars] (1997)
Part 2 - [showif] if variable exists (1998)
FS WebCatalaog license (2000)
Anyone have a register your domain app? (2000)
what servers are supported for Typhoon? (1997)
Emailer (1997)
Value Lists From Filemaker Pro (1999)
the dreaded unitShipCost (2003)
upgrading (1997)
Support ?? (1997)
Execute Applescript (1997)
Opinion: [input] should be called [output] ... (1997)
[quantity] within formulas (1997)
strange IE 4.0 (1998)
taxRate is fine but taxTotal isn't (1997)
Re:No Data (1997)
Modulo function? (2000)
[WebDNA] preventing hackers from posting their own (altered) (2009)
WebCatalog and Bar Code Scanners (1999)
FRAMES and CART tags problem??!? (1999)