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:

AAgghh!! Help, please. SSL strikes again. (1997) HELP WITH DATES (1997) Appending with +1 ... (1997) [WebDNA] Latest Windows Version (2010) Typhoon Rev. and PCS store problems (1999) Why are some admin pages not encrypted? (2000) 4D Database (1997) [showif] results returned... (2003) HELP WITH DATES (1997) Automated FTP from Shell (2004) A few questions. . . (1997) text size limitation (1997) Narrowing NT Crashing error (2000) [TaxableTotal] - not working with AOL and IE (1997) SOLVED. slow site (2003) PCS Frames (1997) Math (1997) Aaron kant add (or whatever it was) (2000) lookup problem (2002) Problems with date math (1997)