Re: replace using &append=T

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68371
interpreted = N
texte = Donovan Brooke wrote: > sbraun wrote: [sni] > You need to initialize "[my_var]" > > [text]my_var=0[/text] > [loop start=0&end=6&advance=1] > [!].....bunch of code.......[/!] > [search db=hours.2007.db&geSKUdatarq=1] > [founditems] > [replace db=hours.2007.db&geSKUdatarq=1&append=t][!] > [/!]&SKU=[url][my_var][/url][!] > [/!].....more.......[!] > [/!][/replace] > [/founditems] > [/search] > [text]my_var=[math][my_var]+1[/math][/text] > [/loop] > > Donovan ....but, there is other things about this code that don't make sense to me. You are replaceing my var in a found set with the same number.. then you are replacing those same found records consecutively by one up to 6. Is that what you want to do? sbraun! what are you trying to do? Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: replace using &append=T ( Donovan Brooke 2007)
  2. Re: replace using &append=T ( Terry Wilson 2007)
  3. Re: replace using &append=T ( Grant Hulbert 2007)
  4. Re: replace using &append=T ( sbraun 2007)
  5. Re: replace using &append=T ( Donovan Brooke 2007)
  6. Re: replace using &append=T ( Donovan Brooke 2007)
  7. Re: replace using &append=T ( matthew.bohne@benetela.com 2007)
  8. replace using &append=T ( sbraun 2007)
Donovan Brooke wrote: > sbraun wrote: [sni] > You need to initialize "[my_var]" > > [text]my_var=0[/text] > [loop start=0&end=6&advance=1] > [!].....bunch of code.......[/!] > [search db=hours.2007.db&geSKUdatarq=1] > [founditems] > [replace db=hours.2007.db&geSKUdatarq=1&append=t][!] > [/!]&SKU=[url][my_var][/url][!] > [/!].....more.......[!] > [/!][/replace] > [/founditems] > [/search] > [text]my_var=[math][my_var]+1[/math][/text] > [/loop] > > Donovan ....but, there is other things about this code that don't make sense to me. You are replaceing my var in a found set with the same number.. then you are replacing those same found records consecutively by one up to 6. Is that what you want to do? sbraun! what are you trying to do? Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:

shipcost (1997) [Price] (1997) $Append for Users outside the ADMIN group (1997) Creating main- and sub-category search (1997) unique ascending numbers (2003) Email Attachments - Webcat (1998) Setting up WebCatalog with Retail Pro data (1996) HTML Editors (1997) Cart Template (1997) international time (1997) emailer (1997) [ShowNext] feature in 2.0 (1997) Sku numbers (1997) how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000) using showpage and showcart commands (1996) Tax Moratorium Expiring (2001) InternetWeek E-Commerce article (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Where can I find hex equivalents for ASCII characters? (2000) Latin Characters (1998)