Re: dates and hex formatting

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14251
interpreted = N
texte = >Hi All, > >Can anyone suggest a solution to my problem. > >I'm using the loop command to append multiple records to a database with a >single user action. I want to use the cart command to generate a new SKU >for each record generated by the loop command. > >The looping works fine and the appending works fine, but I can't figure out >how to get a new SKU for each record ? > >The code I am using is listed below. > >[loop start=1&end=[number]&advance=1] >[append >db=photos.db]sku=[cart]&url=[entrydate.form]&preview=sml[index].jpg[/append] >Record [index] added
>[/loop] > > > >Thanks in advance. > >Tim Rignold > If I'm right using the [cart] like that is going to give you the same sku. If you are just using an ordered sku like 1 - 100 why not get the last one and add 1 to it. That would be pretty easy.Bennie************************************** Bennie Warren /\ LemooreNet / / 320 West D Street / / Lemoore, CA 93245 / / /\ /\ Phone: 209.924.5909 / /_ _ / \ / / Fax 209.924.9578 \ _ _ / /\ \/ / bennie@lemoorenet.com / / \ / http://www.lemoorenet.com /_/ \/ ************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: dates and hex formatting (Bennie Warren 1997)
  2. Re: dates and hex formatting (Kenneth Grome 1997)
  3. Re: dates and hex formatting (Grant Hulbert 1997)
  4. Re: dates and hex formatting (Kenneth Grome 1997)
  5. dates and hex formatting (Tim Rignold 1997)
  6. dates and hex formatting (Tim Rignold 1997)
>Hi All, > >Can anyone suggest a solution to my problem. > >I'm using the loop command to append multiple records to a database with a >single user action. I want to use the cart command to generate a new SKU >for each record generated by the loop command. > >The looping works fine and the appending works fine, but I can't figure out >how to get a new SKU for each record ? > >The code I am using is listed below. > >[loop start=1&end=[number]&advance=1] >[append >db=photos.db]sku=[cart]&url=[entrydate.form]&preview=sml[index].jpg[/append] >Record [index] added
>[/loop] > > > >Thanks in advance. > >Tim Rignold > If I'm right using the [cart] like that is going to give you the same sku. If you are just using an ordered sku like 1 - 100 why not get the last one and add 1 to it. That would be pretty easy.Bennie************************************** Bennie Warren /\ LemooreNet / / 320 West D Street / / Lemoore, CA 93245 / / /\ /\ Phone: 209.924.5909 / /_ _ / \ / / Fax 209.924.9578 \ _ _ / /\ \/ / bennie@lemoorenet.com / / \ / http://www.lemoorenet.com /_/ \/ ************************************** Bennie Warren

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:

WebDNA vars parsed in FLASH (ActionScript) (2004) WebCat2final1 crashes (1997) [append] vs. [appendfile] delta + question? (1997) Firesite and WebCat (1999) Protect and Serve (1999) Signal Raised (1997) WebDNA Book? (2003) Converting Esiting Html Table Forms to WebCat (1997) WebCat2 beta 11 - new prefs ... (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) 'page impression' techniques for banner ads (1999) WC TableGrinder (1997) Car Database (2002) Copyright ? (1997) limitation found on group searching (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Make sure I understand this??? (1997) t or f (1997) encryption in browser? (1998) Multiple catalog databases and showcart (1997)