Re: replace using &append=T

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68368
interpreted = N
texte = Can you use: [replace db=hours.2007.db&eqSKUdatarq=[url][my_var][/url]&append=t]&SKU=[url][my_var][/url]...more...[/replace] That will replace anything equal to sku=[my_var] and append if there is not a record matching. Matt -----Original message----- From: sbraun sbraun1@twcny.rr.com Date: Fri, 26 Jan 2007 01:47:03 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: replace using &append=T > > Hi All, > > Can someone please help me with getting a replace to work with the > &append=T inside of a loop. > Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append. > Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to replace. > > > [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] > > > > Thanks for any assistance, > sfb > > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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)
Can you use: [replace db=hours.2007.db&eqSKUdatarq=[url][my_var][/url]&append=t]&SKU=[url][my_var][/url]...more...[/replace] That will replace anything equal to sku=[my_var] and append if there is not a record matching. Matt -----Original message----- From: sbraun sbraun1@twcny.rr.com Date: Fri, 26 Jan 2007 01:47:03 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: replace using &append=T > > Hi All, > > Can someone please help me with getting a replace to work with the > &append=T inside of a loop. > Sometimes my 'bunch of code' will have the [my_var] result in a new > number, and then I wish to append. > Sometimes my 'bunch of code' will have the [my_var] result in a used > number, and then I wish to replace. > > > [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] > > > > Thanks for any assistance, > sfb > > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ matthew.bohne@benetela.com

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:

(1998) [WebDNA] [OT] Talk list rules and appreciation (2013) WebCat2b13MacPlugin - nested [xxx] contexts (1997) show all problem (1997) Q: how long for answers to the WebDNA-Talk list? (1997) Re[2]: Field Problem (2000) [convertchars] Problem (2000) searchable list archive (1997) [include ...] behavior (1997) Some Questions (1997) Changing price for a SLU based on options (size, etc.) (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Changes to the List (1997) [numFound] inside [showIf]? (2000) Newbie needs advice to learn to use WebDNA (2003) Problems with [Math] (1998) FlushDatabase Suggestion (1998) [WebDNA] Anyone using CODA ?? (2012) WebCatalog 2.0 b 15 mac (1997) Interesting speed comparison .. (2003)