Re: Delete only one duplicate record?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52477
interpreted = N
texte = yes your right of course. I didn't really think it through. Your solution sounds good. Donovan Kenneth Grome wrote: > No I have not tried it, but I know it won't work -- because max only > controls what's displayed on the page, not the number of records > actually matching the search parameters. So even if you use max=1 in > your delete context, both records that share the same sku will be deleted. > > My solution: > > 1- create another duplicate record, but use a different sku > 2- delete the first two records that share the same sku > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: Delete only one duplicate record? ( Donovan 2003)
  2. Re: Delete only one duplicate record? ( Kenneth Grome 2003)
  3. Re: Delete only one duplicate record? ( Alex McCombie 2003)
  4. Re: Delete only one duplicate record? ( Kenneth Grome 2003)
  5. Re: Delete only one duplicate record? ( Donovan 2003)
  6. Delete only one duplicate record? ( Kenneth Grome 2003)
yes your right of course. I didn't really think it through. Your solution sounds good. Donovan Kenneth Grome wrote: > No I have not tried it, but I know it won't work -- because max only > controls what's displayed on the page, not the number of records > actually matching the search parameters. So even if you use max=1 in > your delete context, both records that share the same sku will be deleted. > > My solution: > > 1- create another duplicate record, but use a different sku > 2- delete the first two records that share the same sku > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan

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:

Links inside of Text Areas (2000) Quick Replace Question (2003) Dummy Credit Card Number for debug? (1997) Multiple fields on 1 input (1997) includes and cart numbers (1997) WebCat2b13MacPlugIn - more [date] problems (1997) Search all Fields in a db (1997) Plugin or CGI or both (1997) [WebDNA] Friendly urls and multipart/form-data (2011) Protect Tag (2003) WebDNA Life Cycle (2007) [WebDNA] Build Name for 6.1 (2008) WebMerchant and good orders (1999) [Announce] Newest Commerce Site based on WebCatalog (1997) [WebDNA] UK Based hosts (2018) [WebDNA] Snow Leopard (2009) Custom formulas.db (1998) SOLUTION.... Balancing randomness (2000) Security Issues and WebCommerce Solution (1997) [WriteFile] problems (1997)