Re: [replace][founditems]?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55618
interpreted = N
texte = The docs actually say the following about the [Replace] context:

"Search information describing which records should be found and replaced. Can be any complex search criteria, works exactly like Search command or [Search] context."

And there have been several times on this list that other have suggested that if you can get it to work in a [search] then it will work in a [delete] and a [replace].

In any case, my needs of getting [numfound] from the inside of a [replace] does seem to work, as long as the [replace] in not nested inside another [search].  Although I had to throw the idea out anyway in favor of more consistant/stable code.

Matt Perosi

Kenneth Grome wrote:
So I know that you are supposed to be able to do *anything* with a [replace] command that you can do with a [search] command.


This is WRONG!

Please go back and read the docs again, they do NOT say this.  The docs are probably still incorrect as they are, but they have NEVER suggested that you can do *anything* in a replace context that you can do in a search context ...

------------------------------------------------------------- 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][founditems]? ( Matthew A Perosi 2004)
  2. Re: [replace][founditems]? ( Kenneth Grome 2004)
  3. Re: [replace][founditems]? ( Matthew A Perosi 2004)
  4. [replace][founditems]? ( Matthew A Perosi 2004)
The docs actually say the following about the [replace] context:

"Search information describing which records should be found and replaced. Can be any complex search criteria, works exactly like Search command or [search] context."

And there have been several times on this list that other have suggested that if you can get it to work in a [search] then it will work in a [delete] and a [replace].

In any case, my needs of getting [numfound] from the inside of a [replace] does seem to work, as long as the [replace] in not nested inside another [search].  Although I had to throw the idea out anyway in favor of more consistant/stable code.

Matt Perosi

Kenneth Grome wrote:
So I know that you are supposed to be able to do *anything* with a [replace] command that you can do with a [search] command.


This is WRONG!

Please go back and read the docs again, they do NOT say this.  The docs are probably still incorrect as they are, but they have NEVER suggested that you can do *anything* in a replace context that you can do in a search context ...

------------------------------------------------------------- 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 A Perosi

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:

New Site Announcement (1998) tcpconnect timeout with Authorizenet (2003) &fieldsdir=ra truely random?? (2000) PCS Frames (1997) 300% usage - Clint (2007) RE: Multiple Stores and WebCatalog Prefs (1997) question: webmerchant connection (1997) FAX orders (1996) Separate SSL Server (1997) [Search] on Remote Database (2000) Extracting URL (2007) Needed, Freelance Web Developer (2007) Search in 2 or more catalogs (1997) different show next (1997) Running _every_ page through WebCat ? (1997) test -please ignore (2000) Cookie still not working (1999) Forcing price recalculation in shopping cart (1998) [OT] MACWORLD (2003) WebDNA Module with Apache 2.2 (2006)