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:
Webcat/Webmerchant (1998)
Re:2nd WebCatalog2 Feature Request (1996)
Setting up the server (1997)
OS X permissions to write to Globals directory (2003)
wierd... [Was] User Authentication (2003)
WebCatalog for guestbook ? (1997)
RE: protect tag on NT (1997)
Dumb Question about Docs (1997)
Dubble Sku's in a Database (1999)
WebCat2final1 crashes (1997)
Date problems (1997)
Return records from another (1997)
Stats (2001)
Redirect frame targets (1998)
FlushDatabase Suggestion (1998)
ConvertChars (1998)
form data submission gets truncated (1997)
RE: Emailer Set Up (1997)
It just Does't add up!!! (1997)
Protect Tag and Groups (1998)