Re: how do I delete 1 of 2 identical records?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 55112
interpreted = N
texte = But you could SEARCH with max=1, use REPLACEFOUNDITEMS to modify the one found record, then DELETE the modified record. Or, if you may have multiple duplicate records, you could SEARCH with startat=2, leaving the first record alone and modifying then deleting all the duplicates. - brian On Dec 26, 2003, at 6:51 PM, Kenneth Grome wrote: >> can you [delete db=/db/products.db&eqSKUdatarq=1234&max=1]? > > No, max=1 does not work in replace or delete contexts. The max > parameter is used to ONLY to control the number of found items > displayed inside a founditems context. It is ignored in replace and > delete contexts. > -- > > Kenneth Grome > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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: how do I delete 1 of 2 identical records? ( Kenneth Grome 2003)
  2. Re: how do I delete 1 of 2 identical records? ( Brian Fries 2003)
  3. Re: how do I delete 1 of 2 identical records? ( Grant Hulbert 2003)
  4. Re: how do I delete 1 of 2 identical records? ( "Andrew Simpson" 2003)
  5. Re: how do I delete 1 of 2 identical records? ( Kenneth Grome 2003)
  6. Re: how do I delete 1 of 2 identical records? ( Brian Fries 2003)
  7. Re: how do I delete 1 of 2 identical records? ( "Matthew Bohne" 2003)
  8. Re: how do I delete 1 of 2 identical records? ( Kenneth Grome 2003)
  9. Re: how do I delete 1 of 2 identical records? ( "Andrew Simpson" 2003)
  10. Re: how do I delete 1 of 2 identical records? ( Kenneth Grome 2003)
  11. Re: how do I delete 1 of 2 identical records? ( Gary Krockover 2003)
  12. how do I delete 1 of 2 identical records? ( CN Stuff 2003)
But you could SEARCH with max=1, use REPLACEFOUNDITEMS to modify the one found record, then DELETE the modified record. Or, if you may have multiple duplicate records, you could SEARCH with startat=2, leaving the first record alone and modifying then deleting all the duplicates. - brian On Dec 26, 2003, at 6:51 PM, Kenneth Grome wrote: >> can you [delete db=/db/products.db&eqSKUdatarq=1234&max=1]? > > No, max=1 does not work in replace or delete contexts. The max > parameter is used to ONLY to control the number of found items > displayed inside a founditems context. It is ignored in replace and > delete contexts. > -- > > Kenneth Grome > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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/ Brian Fries

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:

A multi-processor savvy WebCatalog? (1997) WebTen? (1997) Reload adding to cart (2001) Conversion Database Blues (2001) Two submit buttons ? (1997) Caching [include] files ... (1997) More! on [ShowCart] and GET vs. POST (1997) Date problems (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Sorry Off Topic! (1998) RE: [WebDNA] Installing WebDNA on VPS (2008) keep W* in front applescript? (1998) Emailer not working (1998) Error Msg (1998) Hyperboard users wanting a quoted message (1998) [WebDNA] Quick grep question (2009) [SearchString] usage (1997) Re[2]: Feature: TCPconnect via SSL (1999) multiple replace sku data (2003) customizing the color of user's pages (1997)