Re: WARNING: deletedb anomaly

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40443
interpreted = N
texte = I think max is primarily used in conjuction with shownext. Search is still finding all the records.. just displaying the set amount.. thus delete is finding all the records. Not saying shownext shouldn't work with delete. ;-)If you are trying to delete only the first 300 found records that contain a flag you should be able to code a work around.(I see how that would be cool though)Donovan Joseph D'Andrea wrote:> Docs say: > > ...and delete those records. Any valid search parameters are > allowed, as defined in the Search command and [Search] context. > > When you put this in your template you get 300 records back. > > [search > db=addresslist.db&neTHEADDRESSdata=find_all&asMAILFLAGsort=1&MAILFLAGtype=num&max=300] > > However... > > When you put this in your template you get all records deleted. > > [delete > db=addresslist.db&neTHEADDRESSdata=find_all&asMAILFLAGsort=1&MAILFLAGtype=num&max=300] > > Bummer... > > --joe >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WARNING: deletedb anomaly (Joseph D'Andrea 2002)
  2. Re: WARNING: deletedb anomaly (Donovan 2002)
  3. Re: WARNING: deletedb anomaly (Brian Fries 2002)
  4. Re: WARNING: deletedb anomaly (John Peacock 2002)
  5. WARNING: deletedb anomaly (Joseph D'Andrea 2002)
I think max is primarily used in conjuction with shownext. Search is still finding all the records.. just displaying the set amount.. thus delete is finding all the records. Not saying shownext shouldn't work with delete. ;-)If you are trying to delete only the first 300 found records that contain a flag you should be able to code a work around.(I see how that would be cool though)Donovan Joseph D'Andrea wrote:> Docs say: > > ...and delete those records. Any valid search parameters are > allowed, as defined in the Search command and [search] context. > > When you put this in your template you get 300 records back. > > [search > db=addresslist.db&neTHEADDRESSdata=find_all&asMAILFLAGsort=1&MAILFLAGtype=num&max=300] > > However... > > When you put this in your template you get all records deleted. > > [delete > db=addresslist.db&neTHEADDRESSdata=find_all&asMAILFLAGsort=1&MAILFLAGtype=num&max=300] > > Bummer... > > --joe >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- 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://search.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:

[OT] MACWORLD (2003) WebCat table size. (2001) Append (1999) Webmerchant confirmation hooks? (1997) multiple credit card merchant accounts/processors (1997) Mac webcatalog3_0_5b11 more dead lock throws (1999) RE: WebCat virtual postcard is done! Thanks for the help! (1998) Protect vs Authenicate (1997) Sorting Round 2 plus (1998) OT: Java1.3.0 (2002) My first ship table (1998) won't serve .tpl -index.tpl gone, made test.tpl (2000) SiteEdit NewFile.html ? (1997) special commerce fields (1997) Webmerchant PC auth (1998) categories (1997) WebCatalog NT beta 18 now available (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) problems with 2 tags shakur (1997) Webcatalog, Webstar and Crasharama (1999)