Re: replace using &append=T

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68373
interpreted = N
texte = Note that there is no need to use a [search]...[founditems] context when using [replace]. The replace feature *is* a search already, and thus needs no surrounding search at all. Just get rid of the search and founditems in your code and you will find that the replace works just as well, and is faster. See the documentation at [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] ------------------------------------------------------------- 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)
Note that there is no need to use a [search]...[founditems] context when using [replace]. The replace feature *is* a search already, and thus needs no surrounding search at all. Just get rid of the search and founditems in your code and you will find that the replace works just as well, and is faster. See the documentation at [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] ------------------------------------------------------------- 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/ Grant Hulbert

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:

removing programming logic white space (2003) More on [purchase] (1998) SSL and reg web*L and reg web* (1997) webmerch and serials - almost there (1997) 2.1 pricing? (1998) Robots fill event log (1997) WriteFile and returns... (2000) Automatic thumbnail images (1998) remove.htm from result (2005) Include a big block of text (1997) Re:PCS Customer submissions ? (1997) Using Applescript to process WebCatalog functions (1998) JavaScript (1998) [searchString] (1997) For those of you not on the WebCatalog Beta... (1997) No more misunderstanding ... yay! :) (1997) WebCatalog for guestbook ? (1997) Size/Color Options (2002) NT version and O'reily's WebSite (1997) trouble updating records in database (1998)