Re: Generating and appending SKU to a db automatically

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19543
interpreted = N
texte = Try adding SKUtype=num to your search parameters, so WebCat sorts the SKUs as numbers rather than alphabetically (which is causing it to think that 9 is the greatest SKU in the database) At 6:03 AM 8/21/98, Jose A. Gordo wrote: >Hello, > >I'm having a problem trying to append an automatically generated sku to a >database. BTW, I know that the best way to make sure you have unique SKU's is >by using the cart number. However, in this situation I am using webcat to >conduct a poll, and was using the SKU to track the total number of people who >responded and to calibrate the graphs so I can use the BarChart example to >display the results. This is the code I'm using for generating the sku: > >db=promo.db&geskudata=0&skusort=1&skusdir=de&max=1][founditems][math][sku]+1[/ma >th][/founditems][/search]> > >This code does seem to work up to SKU number 10, and after that it just >keeps appending 10 to the subsequent records. As always any help would be >greatly appreciated. BTW, thank you Wendell for al your help with my last >problem. > >Thanks in advance, >Jose >Content-Type: text/x-vcard; charset=us-ascii; name=vcard.vcf >Content-Transfer-Encoding: 7bit >Content-Description: Card for Jose A. Gordo >Content-Disposition: attachment; filename=vcard.vcf > >Attachment converted: 1 GB internal:vcard.vcf 1 (TEXT/R*ch) (00030561) o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Generating and appending SKU to a db automatically (Joshuwa Jenkins 1998)
  2. Re: Generating and appending SKU to a db automatically (larryh 1998)
  3. Generating and appending SKU to a db automatically (Jose A. Gordo 1998)
  4. Re: Generating and appending SKU to a db automatically (Dave MacLeay 1998)
Try adding SKUtype=num to your search parameters, so WebCat sorts the SKUs as numbers rather than alphabetically (which is causing it to think that 9 is the greatest SKU in the database) At 6:03 AM 8/21/98, Jose A. Gordo wrote: >Hello, > >I'm having a problem trying to append an automatically generated sku to a >database. BTW, I know that the best way to make sure you have unique SKU's is >by using the cart number. However, in this situation I am using webcat to >conduct a poll, and was using the SKU to track the total number of people who >responded and to calibrate the graphs so I can use the BarChart example to >display the results. This is the code I'm using for generating the sku: > >db=promo.db&geskudata=0&skusort=1&skusdir=de&max=1][founditems][math][sku]+1[/ma >th][/founditems][/search]> > >This code does seem to work up to SKU number 10, and after that it just >keeps appending 10 to the subsequent records. As always any help would be >greatly appreciated. BTW, thank you Wendell for al your help with my last >problem. > >Thanks in advance, >Jose >Content-Type: text/x-vcard; charset=us-ascii; name=vcard.vcf >Content-Transfer-Encoding: 7bit >Content-Description: Card for Jose A. Gordo >Content-Disposition: attachment; filename=vcard.vcf > >Attachment converted: 1 GB internal:vcard.vcf 1 (TEXT/R*ch) (00030561) o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

[OT] friday pics :-) (2005) Nested tags count question (1997) Where is f2? (1997) [WebDNA] error on mirror site (2015) Exclude by date - multiple (1997) sorting dates (1999) First postarg not taking in $Commands (1997) WebCat2b15MacPlugin - showing [math] (1997) 2nd WebCatalog2 Feature Request (1996) Un[url]ize (1999) I'm new be kind (1997) ODBC problems between webcatalog and filemaker pro (2001) OT-Load balance (2004) OT: PDF (2004) Plugin or CGI or both (1997) Closing Databases (1998) [WebDNA] Variable mystery (2009) [OT] For Mac Users (1999) Country & Ship-to address & other fields ? (1997) [isfile] ? (1997)