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:

Getting Emailer to send mail (1997) Sort Order on a page search (1997) WriteFile and returns... (2000) lookup problem (2000) (2000) What am I missing (1997) [WebDNA] WebDNA Popularity (2014) Not really WebCat (1997) PCS Frames (1997) can you reassign loop index? (1998) Displaying backgrounds (1999) Date search bug (1998) Not really WebCat- (1997) Snake Bites (1997) Errata: WCS Newbie question (1997) [ShowNext] feature in 2.0 (1997) Upgrading old WebCat Database Files (1997) Updating product information (2002) Attn: Bug in GeneralStore example b15 (1997) Help formatting search results w/ table (1997)