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:

More on the email templates (I like it) (1997) (2000) Images do not upload completely ... (2003) user flush db (2002) RE: [WebDNA] ubuntu can't append db (2019) ThreadMem ignored? (1998) SMSI FTP - calander system (2002) Max Record length restated as maybe bug (1997) WebCatalog can't find database (1997) RE: Displaying Location (1997) RE: creating writefile data from a nested search (1997) OS X, Communigate Pro & Line Breaks (2003) [WebDNA] OT - does anyone know how to get Fetch/BBedit to leave (2009) Setting up the server (1997) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) [WebDNA] Problem with Sendmail (2012) WC2.0 Memory Requirements (1997) [SearchString] problem with [search] context (1997) HELP! 10K hits per hour for pages that no longer exist! (2000) Word wrapping (1997)