OK to delete records while finding them?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32478
interpreted = N
texte = Is there some inherent danger in deleting a record from a db within a [founditems] loop which is finding records in that same db? (I am setting up to do that now and thought maybe I remember some discussion on this topic way back...?)ie- (carriage returns added for clarity only)[Search db=some.db &eqMasterIDdatarq=[id] &eqDestSectNumdatarq=[DestSectNum] &PiSiNumsort=1 &PiSiNumsdir=as &PiSiNumtype=num][FoundItems][showif [someCriteria]=isMet] [DELETE db=some.db &eqMasterIDdatarq=[id] &eqDestSectNumdatarq=[DestSectNum] &eqPiSiNumdatarq=[PiSiNum]] [/showif][/FoundItems][/Search]??Is this kosher? if not, then why not? And what is the workaround?-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: OK to delete records while finding them? (John Butler 2000)
  2. Re: OK to delete records while finding them? (Kenneth Grome 2000)
  3. Re: OK to delete records while finding them? (Anup Setty 2000)
  4. Re: OK to delete records while finding them? (Michael Winston 2000)
  5. OK to delete records while finding them? (John Butler 2000)
  6. Re: OK to delete records while finding them? (Kenneth Grome 2000)
Is there some inherent danger in deleting a record from a db within a [founditems] loop which is finding records in that same db? (I am setting up to do that now and thought maybe I remember some discussion on this topic way back...?)ie- (carriage returns added for clarity only)[Search db=some.db &eqMasterIDdatarq=[id] &eqDestSectNumdatarq=[DestSectNum] &PiSiNumsort=1 &PiSiNumsdir=as &PiSiNumtype=num][founditems][showif [someCriteria]=isMet] [DELETE db=some.db &eqMasterIDdatarq=[id] &eqDestSectNumdatarq=[DestSectNum] &eqPiSiNumdatarq=[PiSiNum]] [/showif][/FoundItems][/Search]??Is this kosher? if not, then why not? And what is the workaround?-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

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:

Leap Day Triggers? (2000) Help formatting search results w/ table (1997) two part electronic product (1998) Summary layout (1997) WCS Newbie question (1997) problems with 2 tags (1997) ShowIf & HideIf Question? (1998) Just a thought (1998) software needed (2006) Some Questions (1997) Can you do this??? and other stuff (1997) shaopping cart limits (2000) ShowNext truncating passed variable?? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2b15MacPlugin - showing [math] (1997) New command suggestion (1997) Clean Code: Rules for inserting keyboard returns? (1997) Checkboxes (1998) Database wiped clean (2005) Showing unopened cart (1997)