Re: using listfiles to build a database?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27295
interpreted = N
texte = >WebCatalog 3.0.7 on Solaris (and WebCat still keeps quiting, with no >response from SM yet). > >Hi All, > >I looked at Micheals code fromthe archive and have only (I think) one >minor problem with adapting it for what I am tring to do. > >I am trying to navigate down the hierarchy of a hard drive to get the >file names and stick them in a database. This is done with [listfiles]. >The other thing I am trying to do is create a unique [cart] number for >each of these files as I build the database. Unfortunately it appears >that looping through a [listfiles] doesn't cause [cart] to refresh I >guess because it is the same single page. > >So the question is, how do I get a unique [cart] value for each file? I >want to use the [cart] as I will later be manually adding new files to >this database and want to insure that all of the numbers are unique (as >described they will be if I continue to use the [cart] tag). > >Thanks! > In your append context do a [math] and add 1 to the last sku in your database. ¡t would be great if SM made $newcart into a contex.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: using listfiles to build a database? more (Dale Therio 2000)
  2. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  3. Re: using listfiles to build a database? more (Therio, Dale 2000)
  4. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  5. Re: using listfiles to build a database? more (WebDNA Support 2000)
  6. Re: using listfiles to build a database? (WebDNA Support 2000)
  7. Re: using listfiles to build a database? more (Joseph D'Andrea 2000)
  8. Re: using listfiles to build a database? more (Dale Therio 2000)
  9. Re: using listfiles to build a database? more (Michael O Shea 2000)
  10. Re: using listfiles to build a database? more (Dale Therio 2000)
  11. Re: using listfiles to build a database? more (Michael O Shea 2000)
  12. Re: using listfiles to build a database? more (Michael O Shea 2000)
  13. Re: using listfiles to build a database? more (Therio, Dale 2000)
  14. Re: using listfiles to build a database? more (Dale Therio 2000)
  15. Re: using listfiles to build a database? (Michael O Shea 2000)
  16. Re: using listfiles to build a database? (Kenneth Grome 2000)
  17. Re: using listfiles to build a database? (Dale Therio 2000)
  18. Re: using listfiles to build a database? (Therio, Dale 2000)
  19. Re: using listfiles to build a database? (Michael O Shea 2000)
  20. using listfiles to build a database? (Therio, Dale 2000)
>WebCatalog 3.0.7 on Solaris (and WebCat still keeps quiting, with no >response from SM yet). > >Hi All, > >I looked at Micheals code fromthe archive and have only (I think) one >minor problem with adapting it for what I am tring to do. > >I am trying to navigate down the hierarchy of a hard drive to get the >file names and stick them in a database. This is done with [listfiles]. >The other thing I am trying to do is create a unique [cart] number for >each of these files as I build the database. Unfortunately it appears >that looping through a [listfiles] doesn't cause [cart] to refresh I >guess because it is the same single page. > >So the question is, how do I get a unique [cart] value for each file? I >want to use the [cart] as I will later be manually adding new files to >this database and want to insure that all of the numbers are unique (as >described they will be if I continue to use the [cart] tag). > >Thanks! > In your append context do a [math] and add 1 to the last sku in your database. ¡t would be great if SM made $newcart into a contex.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Michael O Shea

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:

WebCat2 - storing unformatted date data? (1997) possible, WebCat2.0 and checkboxes-restated (1997) ShipToState question (1998) iTools WebDNA module keeps crashing (2006) Field name-subcategory (1997) WebCatalog can't find database (1997) Convertchars bug? (2003) Pithy questions on webcommerce & siteedit (1997) Encrypting the seed (2001) Multiple Ad databases? (1997) RE:It just Does't add up!!! (1997) WebCat2b15MacPlugin - [protect] (1997) Q on the best way to set up a security function so users canedit records (1999) Nested tags count question (1997) Open Source (2000) Searching multiple fields from one form field (1997) price formula (1999) Req for code: upload and append to DB (2002) Location of Browser Info.txt file (1997) [convertwords] to convert carriage return? (2000)