serial number generation

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13553
interpreted = N
texte = Is there an easy way to generate serial numbers using Webcat. I need them to create Customer number and order references where the value is n+1 each time it is called. I am looking for a function that is similar to the or Netcloak.I tried the following but after a few calls the value valeur is empty.serial.db : SKU valeur 1 100The following text is included everywhere I need a new serialized number :[lookup db=../include/serial.db&lookinfield=sku&value=1&returnfield=valeur][Replace db=../include/serial.db&eqskudata=1]valeur=[interpret][math][lookup db=serial.db&lookinfield=sku&value=1&returnfield=valeur]+1[/math][/interpre t][/Replace]Does anyone have a solution for this problem ?Laurent.--- Laurent Pladys LXir 33 rue de la foret 77160 Chenoise France +33 (0)1 64 00 23 23 (tel) +33 (0)1 64 00 59 62 (fax) www.LXir.net ltpladys@LXir.net Associated Messages, from the most recent to the oldest:

    
  1. Re: serial number generation (ltpladys 1997)
  2. Re: serial number generation (John Hill 1997)
  3. Re: serial number generation (Christer Olsson 1997)
  4. Re: serial number generation (Grant Hulbert 1997)
  5. Re: serial number generation (ltpladys 1997)
  6. Re: serial number generation (Kenneth Grome 1997)
  7. serial number generation (ltpladys 1997)
Is there an easy way to generate serial numbers using Webcat. I need them to create Customer number and order references where the value is n+1 each time it is called. I am looking for a function that is similar to the or Netcloak.I tried the following but after a few calls the value valeur is empty.serial.db : SKU valeur 1 100The following text is included everywhere I need a new serialized number :[lookup db=../include/serial.db&lookinfield=sku&value=1&returnfield=valeur][Replace db=../include/serial.db&eqskudata=1]valeur=[interpret][math][lookup db=serial.db&lookinfield=sku&value=1&returnfield=valeur]+1[/math][/interpre t][/Replace]Does anyone have a solution for this problem ?Laurent.--- Laurent Pladys LXir 33 rue de la foret 77160 Chenoise France +33 (0)1 64 00 23 23 (tel) +33 (0)1 64 00 59 62 (fax) www.LXir.net ltpladys@LXir.net ltpladys

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:

tax rate off by 1 cent (1997) Alternating colors (1997) [WriteFile] problems (1997) [SMSI] WebDNA is too good to go away! (2006) Support ?? (1997) [WebDNA] UTF-8 encoding issues (2010) File dates in WebCatalog .tmpl/.inc (1997) Grep to convert characters to html entities (2006) Cookies (1999) WebCat2 - [include] tags (1997) Forms (1997) [WebDNA] Limts? -and- Hot Merge (2009) [isfolder] and [filename] (1997) Triggers (2003) WebCat for Unix?? (1997) Universal root for WC errors? (1997) Where's Cart Created ? (1997) Works! (1997) Proposed FormVariables hierarchy (2000) Still Learning (1997)