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:

Newbie problem blah blah blah (1997) Ordering Fraction CORRECTION (2000) Discount - Reserved Word? (2001) WebDNA for Dummies (2004) WCS Newbie question (1997) SSL and reg web* (1997) Running _every_ page through WebCat ? (1997) Bug Report, maybe (1997) How do I get Google to crawl a WebCat site? (2003) ODBC (2002) Passing a search through a form (2003) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Location of Browser Info.txt file (1997) HomePage Caution (1997) WebCat2.0 acgi vs plugin (1997) Can he do that? (1998) WebMerchant 1.6 and SHTML (1997) rotating thumbnails (1997) showif and cart (1997) [input] [/input] (1997)