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:

Re:quit command on NT (1997) [WebDNA] WebDNA - Globals SIGEGV - Anyone? (2016) displaying New products (using [date]) (1997) NT version and O'reily's WebSite (1997) WebCat2: multiple currency support (1997) WC2.0 Memory Requirements (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) send mail problem? (1997) Field Contents Raw (1999) drop down selection list for a search (1998) WebCat2final1 crashes (1997) Webcatalog and foreign languages (1998) New to WebCat-very unsure (2000) Users.db (1998) Re:quit command on NT (1997) bypassing typo's (1998) Cross-platform file names? (2000) WebCat vs. ASP (1999) b12 cannot limit records returned and more. (1997) # fields limited? (1997)