Any help gratefully appreciated
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39790
interpreted = N
texte = I have a folder called OrdersI have a file in this folder calld filelist.dbI list the filenames in Orders and list the filenamesin filelist.db, if they do not match, I delete the filename in filelist.db. Its that simple. However thiskeeps happeningFilenames in Orders= 1.old 2.old 3.old 4.old 5.old 6.old 7.old 8.old 9.old 10.oldFilenames in Orders/filelist.db= 1.new 2.new 3.new 4.new 5.new 6.new 7.new 8.new 9.new 10.newTherefore no filenames are equal delete them all so.When I run the code it only deletes every second oneso 1,3,5,7,9 will be deleted and not the othersthat leaves 2,4,6,8,10if I run it again, it will again take the second onesand delete 2,6,10 leaving 4,8Why does it do this, this is the code:[text]doDelete=[F][/text] [searchdb=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on][founditems][listfiles orders][If [filenames]=[filename]][then][text]doDelete=[T][/text][/then][else][/else][/If][/listfiles][showif [doDelete]![T]][deletedb=orders/filelist.db&eqFILENAMESdatarq=[filenames]][FlushDatabases][/showif][text]doDelete=[F][/text] [/founditems][/search]Filelist database updated ____________________________________________________________Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the newall media adventure before November 3rd.-------------------------------------------------------------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 have a folder called OrdersI have a file in this folder calld filelist.dbI list the filenames in Orders and list the filenamesin filelist.db, if they do not match, I delete the filename in filelist.db. Its that simple. However thiskeeps happeningFilenames in Orders= 1.old 2.old 3.old 4.old 5.old 6.old 7.old 8.old 9.old 10.oldFilenames in Orders/filelist.db= 1.new 2.new 3.new 4.new 5.new 6.new 7.new 8.new 9.new 10.newTherefore no filenames are equal delete them all so.When I run the code it only deletes every second oneso 1,3,5,7,9 will be deleted and not the othersthat leaves 2,4,6,8,10if I run it again, it will again take the second onesand delete 2,6,10 leaving 4,8Why does it do this, this is the code:[text]doDelete=[F][/text] [searchdb=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on][founditems][listfiles orders][If [filenames]=[filename]][then][text]doDelete=[T][/text][/then][else][/else][/If][/listfiles][showif [doDelete]![T]][deletedb=orders/filelist.db&eqFILENAMESdatarq=[filenames]][flushdatabases][/showif][text]doDelete=[F][/text] [/founditems][/search]Filelist database updated ____________________________________________________________Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the newall media adventure before November 3rd.-------------------------------------------------------------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/
Laeg Ent.
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:
Webcat no longer supported? (2006)
READFILE command? (1998)
username = 115 (1999)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[isfile] ? (1997)
AutoCommit Preference? (1998)
Postdata expired from cache (2004)
Generating Report Totals (1997)
Serving images from databases (1998)
WebCat2 - Getting to the browser's username/password data (1997)
MySQL 4.1 (2004)
[random] only for 1-100??? (1997)
Just-in-RAM? (2000)
Re:Emailer and encryption (1997)
[BoldWords] WebCat.acgib15Mac (1997)
[Cart] ... (1997)
ShoppingCarts (2000)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
docs for WebCatalog2 (1997)
Replacefounditems (2003)