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:

Can I invoke an ssi plugin from within a webcat page (1997) page redirect in webDNA (1997) Can't use old cart file (was One more try) (1997) re:check boxes (1997) [ShowNext] (1997) Problems with [Applescript] (1997) Moving a record from one dataabse to another. (2000) Package Prices (2000) 'RequiredField' Question (1998) Configuring E-mail (1997) Email notification to one of multiple vendors ? (1997) simple answer? [hideif] (1997) Reversed words (1997) Reminder... (2003) MATH (1998) Page Counters? (1997) Help me choose an upgrade path to 5.0 (2003) Email Formatting (1998) URGENT! ACGI Stopped!!!! (1997) Resume Catalog ? (1997)