old problem

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39876
interpreted = N
texte = I still have the same problem. I am trying to compare the list of filenames in a folder A with a list of filenames in a db file B. If an an order name appears in B that is not in A then we delete that filename out of the db file. Seems like a well confined problem but I'm having trouble with it. I think its my placement of [Flushdatabases], but I'm not sure.[listfiles orders] [append db=orders/temp.db]filename=[filename] [/append] [/listfiles][copyfile from=orders/filelist.db&to=orders/potato.db][search db=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on] [founditems] [search db=orders/temp.db&neFILENAMEdatarq=find_all&rank=on] [founditems] [If [filenames]=[filename]] [then] [text]doDelete=T[/text] [/then] [else] [/else] [/If] [showif [doDelete]!T] [delete db=orders/potato.db&eqPOTdatarq=[filenames]] [FlushDatabases] [/showif] [text]doDelete=F[/text] [/founditems] [/search] [/founditems] [/search][copyfile from=orders/potato.db&to=orders/filelist.db] [delete db=orders/potato.db] [copyfile from=orders/filelist.db&to=orders/arse.db]__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com------------------------------------------------------------- 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/ Return-Path: X-ListServer: CommuniGate Pro LIST 3.4.2 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-ID: <20011105124309.15078.qmail@web20609.mail.yahoo.com> Date: Mon, 5 Nov 2001 12:43:09 +0000 (GMT) From: Laeg Ent. Subject: old problem MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bitI still have the same problem. I am trying to compare the list of filenames in a folder A with a list of filenames in a db file B. If an an order name appears in B that is not in A then we delete that filename out of the db file. Seems like a well confined problem but I'm having trouble with it. I think its my placement of [Flushdatabases], but I'm not sure.[listfiles orders] [append db=orders/temp.db]filename=[filename] [/append] [/listfiles][copyfile from=orders/filelist.db&to=orders/potato.db][search db=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on] [founditems] [search db=orders/temp.db&neFILENAMEdatarq=find_all&rank=on] [founditems] [If [filenames]=[filename]] [then] [text]doDelete=T[/text] [/then] [else] [/else] [/If] [showif [doDelete]!T] [delete db=orders/potato.db&eqPOTdatarq=[filenames]] [FlushDatabases] [/showif] [text]doDelete=F[/text] [/founditems] [/search] [/founditems] [/search][copyfile from=orders/potato.db&to=orders/filelist.db] [delete db=orders/potato.db] [copyfile from=orders/filelist.db&to=orders/arse.db]__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com------------------------------------------------------------- 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: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  2. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  3. Re: [WebDNA] Old Problem, the exclamation point (Donovan Brooke 2014)
  4. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  5. Re: [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
  6. Re: [WebDNA] Old Problem, the exclamation point (Terry Wilson 2014)
  7. Re: [WebDNA] Old Problem, the exclamation point (Donovan Brooke 2014)
  8. Re: [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
  9. Re: [WebDNA] Old Problem, the exclamation point (Tom Duke 2014)
  10. [WebDNA] Old Problem, the exclamation point (Steve Braun 2014)
  11. Re: old problem (Brian Fries 2001)
  12. Re: old problem (Rob Marquardt 2001)
  13. Re: old problem (Laeg Ent. 2001)
  14. Re: old problem (Laeg Ent. 2001)
  15. Re: old problem (Rob Marquardt 2001)
  16. Re: old problem (Laeg Ent. 2001)
  17. Re: old problem (Rob Marquardt 2001)
  18. old problem (Laeg Ent. 2001)
  19. Re: OLD PROBLEM (bob 1997)
  20. OLD PROBLEM (natasha 1997)
I still have the same problem. I am trying to compare the list of filenames in a folder A with a list of filenames in a db file B. If an an order name appears in B that is not in A then we delete that filename out of the db file. Seems like a well confined problem but I'm having trouble with it. I think its my placement of [flushdatabases], but I'm not sure.[listfiles orders] [append db=orders/temp.db]filename=[filename] [/append] [/listfiles][copyfile from=orders/filelist.db&to=orders/potato.db][search db=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on] [founditems] [search db=orders/temp.db&neFILENAMEdatarq=find_all&rank=on] [founditems] [If [filenames]=[filename]] [then] [text]doDelete=T[/text] [/then] [else] [/else] [/If] [showif [doDelete]!T] [delete db=orders/potato.db&eqPOTdatarq=[filenames]] [flushdatabases] [/showif] [text]doDelete=F[/text] [/founditems] [/search] [/founditems] [/search][copyfile from=orders/potato.db&to=orders/filelist.db] [delete db=orders/potato.db] [copyfile from=orders/filelist.db&to=orders/arse.db]__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com------------------------------------------------------------- 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/ Return-Path: X-ListServer: CommuniGate Pro LIST 3.4.2 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-ID: <20011105124309.15078.qmail@web20609.mail.yahoo.com> Date: Mon, 5 Nov 2001 12:43:09 +0000 (GMT) From: Laeg Ent. Subject: old problem MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bitI still have the same problem. I am trying to compare the list of filenames in a folder A with a list of filenames in a db file B. If an an order name appears in B that is not in A then we delete that filename out of the db file. Seems like a well confined problem but I'm having trouble with it. I think its my placement of [flushdatabases], but I'm not sure.[listfiles orders] [append db=orders/temp.db]filename=[filename] [/append] [/listfiles][copyfile from=orders/filelist.db&to=orders/potato.db][search db=orders/filelist.db&neFILENAMESdatarq=find_all&rank=on] [founditems] [search db=orders/temp.db&neFILENAMEdatarq=find_all&rank=on] [founditems] [If [filenames]=[filename]] [then] [text]doDelete=T[/text] [/then] [else] [/else] [/If] [showif [doDelete]!T] [delete db=orders/potato.db&eqPOTdatarq=[filenames]] [flushdatabases] [/showif] [text]doDelete=F[/text] [/founditems] [/search] [/founditems] [/search][copyfile from=orders/potato.db&to=orders/filelist.db] [delete db=orders/potato.db] [copyfile from=orders/filelist.db&to=orders/arse.db]__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com------------------------------------------------------------- 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:

Is there a way to just get to the last record in the database? (1997) questions on variations of Ken's [text multi=T]var1=&var2=[/text] (1999) Form Tempelate (2000) Using Cookie for client specific info? (1997) WCS Newbie question (1997) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) Does not begin with.... (2003) OT: How to Ignore Your Best Customers (2003) Resetting a Formvariable (2000) Running WebCat from a CD-ROM (1997) What's wrong with this [append] context? (2000) Forms IMG tag[OT] (2001) How to pass from a detail page to another? (1998) Writefile problem (1999) cookies crumbling (1999) Submitting ampersands in forms... (1998) Search multiple fields (1997) WebCat2b13 Command Reference Doc error (1997) OFF-TOPIC...list serve software for newsletter? (1998) passing search criteria (1997)