Re: using listfiles to build a database? more

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27308
interpreted = N
texte = At 9:39 AM 2/10/00, Dale Therio wrote: ... >> Well, since [cart] won't work, how about a simple way to replace the >> value of a field with a [cart] value in the database, e.g. I use a dummy >> value for now, then run some template which will update that value to all >> new, unique cart numbers. Or will Irun into the same problem with [cart]? >> >> For now, I probably need to simply use a random number and append the >> time or something to it. Coments? >> > Take a look in the database helper templates. When you run a file through db helper, it reads all the records and creates a filed labeld SKU. It populates this field with a value that is unique for each record. By looking at a recently created database, I can see that it appears to be a large number created by appending the date, time and a sequential counter... like this:200001281332351 200001281332352 200001281332353 200001281332354 200001281332355 200001281332356 200001281332357 200001281332358 200001281332359 2000012813323510___Joe____________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- 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? more (Joseph D'Andrea 2000)
  7. Re: using listfiles to build a database? more (Dale Therio 2000)
  8. Re: using listfiles to build a database? more (Michael O Shea 2000)
  9. Re: using listfiles to build a database? more (Dale Therio 2000)
  10. Re: using listfiles to build a database? more (Michael O Shea 2000)
  11. Re: using listfiles to build a database? more (Michael O Shea 2000)
  12. Re: using listfiles to build a database? more (Therio, Dale 2000)
  13. Re: using listfiles to build a database? more (Dale Therio 2000)
At 9:39 AM 2/10/00, Dale Therio wrote: ... >> Well, since [cart] won't work, how about a simple way to replace the >> value of a field with a [cart] value in the database, e.g. I use a dummy >> value for now, then run some template which will update that value to all >> new, unique cart numbers. Or will Irun into the same problem with [cart]? >> >> For now, I probably need to simply use a random number and append the >> time or something to it. Coments? >> > Take a look in the database helper templates. When you run a file through db helper, it reads all the records and creates a filed labeld SKU. It populates this field with a value that is unique for each record. By looking at a recently created database, I can see that it appears to be a large number created by appending the date, time and a sequential counter... like this:200001281332351 200001281332352 200001281332353 200001281332354 200001281332355 200001281332356 200001281332357 200001281332358 200001281332359 2000012813323510___Joe____________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- 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 Joseph D'Andrea

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 - [include] tags (1997) Getting Emailer to send mail (1997) CSS in HTML emails? (2003) Giving out error pages (1997) Problems getting parameters passed into email. (1997) [WebDNA] Has [middle] always worked this way? (2014) Problem with [Search] inside of [Loop]? (1997) Download URL & access on the fly ? (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) Quantity * price (1997) Micro-managing External Links (2006) Migrating to NT (1997) [WebDNA] Triggers issue, or sendmail? (2012) oops private message leaked into talk list (1997) WCS Newbie question (1997) sort problems....bug or brain fart? (1997) RE: OK, here goes... (1997) select multiple (1997) Cookie set browser session. (1998) WebCatalog NT beta 18 problem (1997)