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:

syntax question, not in online refernce (1997) Help! WebCat2 bug (1997) [WebDNA] Integrating a HTML Parser (2013) PCS Frames-Default page is solution! (1997) Question about links (1999) Still trying to email... (1998) WebCatalog Technical Reference (1997) Where is f2? (1997) unsubscribe (1997) writefile - continued (1997) What am I missing (1997) WebCat/CyberStudio Compatibility (1998) [WebDNA] [text scope=global show=F]... the 'show' param breaks (2010) apostrophe in search item (1997) shell problems again... (2003) email [title] (1997) no global [username] or [password] displayed ... (1997) WebCatalog-NT?'s (1996) WebCat & Backoffice Solution? (2000) Line items in table cells (1997)