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.chcom4u.ch http://www.com4u.chBreitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26Switzerland-------------------------------------------------------------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:
>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.chcom4u.ch http://www.com4u.chBreitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26Switzerland-------------------------------------------------------------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)