Re: Other tags inside the founditems context?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17015
interpreted = N
texte = >Is there ANY WAY that an append context inside the founditems loop will>screw up the internal index in the same manner that using delete inside>the founditems context does?No, that should be fine, since none of the found items will be included inthe newly-added ones. There is no overlap.>What about a replace context inside a founditems loop?Replace *may* affect it, because a replace has the potential to change thefield values in the list of found records. The code looks like replacewould *probably* work (because everything is based on record index), but ithasn't been tested so we can't guarantee it.>What about other tags or contexts inside the founditems context?Only tags that affect database records or databases can be a problem.[CloseDatabase], for instance, would be a bad idea inside a [FoundItems]loop. [FlushDatabases], [Delete], [Replace], would also be bad.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Is there ANY WAY that an append context inside the founditems loop will>screw up the internal index in the same manner that using delete inside>the founditems context does?No, that should be fine, since none of the found items will be included inthe newly-added ones. There is no overlap.>What about a replace context inside a founditems loop?Replace *may* affect it, because a replace has the potential to change thefield values in the list of found records. The code looks like replacewould *probably* work (because everything is based on record index), but ithasn't been tested so we can't guarantee it.>What about other tags or contexts inside the founditems context?Only tags that affect database records or databases can be a problem.
[closedatabase], for instance, would be a bad idea inside a
[founditems]loop.
[flushdatabases],
[delete],
[replace], would also be bad.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
Merry Christmas (2006)
Suggestion: appendfounditems (2002)
[ShowIf] and empty fields (1997)
WebCat2: Items xx to xx shown, etc. (1997)
nesting limits? (1998)
re: Large Database Options? (1999)
NT Version on IIS 4.0 (1997)
emailer (1997)
Need relative path explanation (1997)
ShowNext (2002)
back button problem (1999)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
recomend ftp (2001)
Will webdna execute before a [redirect]? (1999)
Re:no [search] with NT (1997)
4D Database (1997)
shipcost vs shiptotal (1998)
WebCat2b15MacPlugin - [protect] (1997)
WebMerchant? (1998)
Bad URL reference? (1997)