Re: ARGH!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 56486
interpreted = N
texte = variable name conflict issue. nothing wrong with the search or deletion...other than perhaps the technique... but it had nothing to do with any ofthat code. thanks gents.----- Original Message ----- From: "Rob Marquardt"
To: "WebDNA Talk" Sent: Tuesday, March 02, 2004 1:25 PMSubject: Re: ARGH!> 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/>-------------------------------------------------------------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:
variable name conflict issue. nothing wrong with the search or deletion...other than perhaps the technique... but it had nothing to do with any ofthat code. thanks gents.----- Original Message ----- From: "Rob Marquardt" To: "WebDNA Talk" Sent: Tuesday, March 02, 2004 1:25 PMSubject: Re: ARGH!> 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/>-------------------------------------------------------------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/
"Ron Ceballos"
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:
Thanks Grant (1997)
Database Strategy - more... (1998)
WebCat2: Items xx to xx shown, etc. (1997)
Re:Searching for ALL / empty form field (1997)
Webstar 1.3.1 PPC (1997)
Rendering out a page (1997)
Sku numbers (1997)
WebCat2b15MacPlugin - [protect] (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
SKU (1997)
Trouble with formula.db (1997)
[OT][Fwd: Announcement] (2003)
[OT] Robust order processing (2003)
WebDNA dying or ... ? (2005)
[WebDNA] Show next..... (2010)
RE: Emailer Set Up (1997)
international time (1997)
installing webcatalog problem. HELP! (1998)
Simple question (1998)
generate sequential numbers (1999)