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:
Re:Running 2 two WebCatalog.acgi's (1996)
carriage returns in data (1997)
WebCat2: Found Items syntax, etc. (1997)
unable to launch acgi in WebCat (1997)
psst (1997)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
[WebDNA] read database from other domain (2015)
RE: Error: template (1997)
Showing unopened cart (1997)
Cache Access Error (2000)
Need help!! on searching in two databases. (1998)
Using Plug-In while running 1.6.1 (1997)
[OT] SSL security in browser (2005)
Digger talk list ... (2004)
FREE Web Server Monitor FREE (1997)
question: webdelivery folder and file (1997)
problems with 2 tags shakur (1997)
writefile and deletefile (1998)
what's wrong with this picture (2006)
Help with database strategy (1998)