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 in the 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 the field values in the list of found records. The code looks like replace would *probably* work (because everything is based on record index), but it hasn'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 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Other tags inside the founditems context? (PCS Technical Support 1998)
  2. Other tags inside the founditems context? (Kenneth Grome 1998)
>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 in the 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 the field values in the list of found records. The code looks like replace would *probably* work (because everything is based on record index), but it hasn'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 | Typhoon 619/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:

[WebDNA] Has anyone used 'bootstrap' as their base to create a (2016) Most Efficiant Way to do restricted Areas (1997) Too many webcat comments. [WAS- Large founditems loops] (2000) lookup and two records? (1997) OT: Site Downloaders (2002) drop down menu (2000) RE: WebDNA-Talk searchable? (1997) OT: Development contracts (1999) and more [shipcost].... (2001) using showpage and showcart commands (1996) Include from DB (2002) WebCat2b12--[searchstring] bug (1997) customizing the color of user's pages (1997) Web Developer Product Awards (1997) Expected Behavior? (1999) iis 4.0 (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) [authenticate] (2002) quantity minimum problem (1997) Today's suggestions (1998)