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'twork with delete. ;-)If you are trying to delete only the first 300 found records thatcontain a flag you should be able to code a work around.(I see how that would be cool though)DonovanJoseph 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:
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'twork with delete. ;-)If you are trying to delete only the first 300 found records thatcontain a flag you should be able to code a work around.(I see how that would be cool though)DonovanJoseph 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:
A little syntax help (1997)
profiles (1999)
Corrupt Database Problem... (2000)
TIP OF THE DAY (2004)
taxTotal, grandTotal (1997)
Updating fields from different platforms (1998)
restart needed???? (1997)
OT: Please set your computer's clock (1997)
Virtual hosting and webcatNT (1997)
Re:listfiles-looking for slick solution (1997)
Emailer kaput? (2000)
authenticating a second user (1997)
Autoreturn Submit? (1997)
WebCat2b13MacPlugIn - [include] (1997)
Max Record length restated as maybe bug (1997)
Help formatting search results w/ table (1997)
RE: ANother SHOWIF problem (1997)
Bug Report, maybe (1997)
Whats wrong with this code? (1998)
The USArea® Network web site ... (1997)