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:
contextual shownext (1998)
Emailer update for Mac? (1998)
WCS Newbie question (1997)
Still having install problems (2000)
[BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011)
[shownext max=?] armed (1997)
Using Plug-In while running 1.6.1 (1997)
CORR: date format (2000)
Error Lob.db records error message not name (1997)
process out of control....... (2002)
How to archive....? (1998)
Error: this shopping cart has already been submittedm (2004)
RE: WebCat and image maps (1997)
Upgrading old WebCat Database Files (1997)
WebCatalog for guestbook ? (1997)
Missing something simple?? (1998)
Lookup Notfound (1998)
Plugin or CGI or both (1997)
no global [username] or [password] displayed ... (1997)
WebCat Beta NT 18 (1997)