Re: ARGH!

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56485
interpreted = N
texte = on 3/2/2004 9:39 am, Ron Ceballos at ron@specsimple.com so noted... > [!][/!] > [search > db=coupons.db&eqclientIDdatarq=[clientID]&eqprodIDdatarq=[prodID]&eqactivate > ddatarq=1&max=[quantity]] > > > [founditems] > [delete db=coupons.db&equniqueIDdata=[uniqueID]] > > [/founditems] > [/search] I'd move the deletion out of the founditems loop, to make sure you're not messing with the internal index of the found items. [search db=coupons.db&eqclientIDdatarq=[clientID]&eqprodIDdatarq=[prodID]&eqactivate ddatarq=1&max=[quantity]] [math show=F]totalFound=[numfound][/math] [founditems] [text]uniqueID[index]=[uniqueID][/text] [/founditems] [/search] [loop start=1&end=[totalFound]] [delete db=coupons.db&equniqueIDdata=[text]uniqueID[index][/text]] [/loop] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ARGH! ( "Ron Ceballos" 2003)
  2. Re: ARGH! ( Rob Marquardt 2004)
  3. Re: ARGH! ( John Peacock 2004)
  4. Re: ARGH! ( "Ron Ceballos" 2003)
  5. Re: ARGH! ( Gary Krockover 2004)
  6. ARGH! ( "Ron Ceballos" 2004)
on 3/2/2004 9:39 am, Ron Ceballos at ron@specsimple.com so noted... > [!][/!] > [search > db=coupons.db&eqclientIDdatarq=[clientID]&eqprodIDdatarq=[prodID]&eqactivate > ddatarq=1&max=[quantity]] > > > [founditems] > [delete db=coupons.db&equniqueIDdata=[uniqueID]] > > [/founditems] > [/search] I'd move the deletion out of the founditems loop, to make sure you're not messing with the internal index of the found items. [search db=coupons.db&eqclientIDdatarq=[clientID]&eqprodIDdatarq=[prodID]&eqactivate ddatarq=1&max=[quantity]] [math show=F]totalFound=[numfound][/math] [founditems] [text]uniqueID[index]=[uniqueID][/text] [/founditems] [/search] [loop start=1&end=[totalFound]] [delete db=coupons.db&equniqueIDdata=[text]uniqueID[index][/text]] [/loop] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Rob Marquardt

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:

Only charge card when product shipped ? (1997) Running 2 two WebCatalog.acgi's (1996) Triggers and today's leap day? (2000) Weird problems with [SHOWIF]s (1997) PSC recommends what date format yr 2000??? (1997) WebCatalog can't find database (1997) [WebDNA] CRON (2014) [shownext max (1997) Removing [showif] makes a big difference in speed (1997) Claris HomePage messes up the code (1997) MacActivity and PCS (1997) small job/demo setup (1999) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Country & Ship-to address & other fields ? (1997) Bug Report, maybe (1997) How big can WebCat go? (1999) More Shopping Cart Problems (2000) List of WebDNA users (2002) RE: 2nd WebCatalog2 Feature Request (1996) RE: E-mailer error codes (1997)