Re: setting line item numbers

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16018
interpreted = N
texte = >Hi all! > >I have a database that I need to add a unique identifier to each line >(sometime after the database is created.) This is as close as I can get, and >it doesn't work. Any ideas? > >[search db=../myuser.db&geZIPdatarq=0] > [founditems] > [replace >db=../myuser.db&eqDATEdatarq=[date]&eqZIPdatarq=[zip]]sku=[index][random][/r >eplace] > [/founditems] >[/search]Use the [cart] tag, it always creates a unique number the first time it's used on a page -- provided you haven't passed a [cart] value from the preceeding page ...[search db=../myuser.db&geZIPdatarq=0] [founditems] [replace db=../myuser.db&eqDATEdatarq=[date]&eqZIPdatarq=[zip]]sku=[cart][/replace] [/founditems] [/search]Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: setting line item numbers (Kenneth Grome 1998)
  2. Re: setting line item numbers (Brian B. Burton 1998)
  3. Re: setting line item numbers (Kenneth Grome 1998)
  4. setting line item numbers (Brian B. Burton 1998)
>Hi all! > >I have a database that I need to add a unique identifier to each line >(sometime after the database is created.) This is as close as I can get, and >it doesn't work. Any ideas? > >[search db=../myuser.db&geZIPdatarq=0] > [founditems] > [replace >db=../myuser.db&eqDATEdatarq=[date]&eqZIPdatarq=[zip]]sku=[index][random][/r >eplace] > [/founditems] >[/search]Use the [cart] tag, it always creates a unique number the first time it's used on a page -- provided you haven't passed a [cart] value from the preceeding page ...[search db=../myuser.db&geZIPdatarq=0] [founditems] [replace db=../myuser.db&eqDATEdatarq=[date]&eqZIPdatarq=[zip]]sku=[cart][/replace] [/founditems] [/search]Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Kenneth Grome

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:

[] Boxes in Safari (2004) HELP-1!!! (1998) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) WebCat b13 CGI -shownext- (1997) PIXO support (1997) Bug (feature) in v6 listfiles shows hidden files ... (2004) Mapping .tmpl extension on NT (1998) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Appending space (1998) Strange intermittent WebDNA problems (2008) [browsername] not working? (1997) Mail Server Needed. (1998) [ConvertChars] problem (1997) Questions To Answer (1997) Searching multiple fields (1997) Associative lookup style? + bit more (1997) tcp connect includes (1999) OT: Unix question (2003) Opinion: [input] should be called [output] ... (1997) Closing db's & caching templates (was: Shippingcalculations) (1997)