Re: 2.0Beta Command Ref (can't find this instruction)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10488
interpreted = N
texte = >It took the [founditems] to make it work. But using the sample templates >from classified ads as a model. The validator.tmpl has the [replace blah >blah] with no [founditems] in site. Operating under the impression that >[founditems] was only needed if I wanted to display the results not change >in background.The key difference here is that in the classifieds demo the replace is only changing one record. If you want to replace a whole bunch of records WITH THE EXACT SAME VALUE you can use replace alone. But if you want to loop thru a bunch of records and change something to a different value for each one, you should put the replace inside of a founditems loop.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: 2.0Beta Command Ref (can't find this instruction) (Grant Hulbert 1997)
  2. Re: 2.0Beta Command Ref (can't find this instruction) (grichter@panavise.com (Gary Richter) 1997)
  3. Re: 2.0Beta Command Ref (can't find this instruction) (Grant Hulbert 1997)
  4. 2.0Beta Command Ref (can't find this instruction) (grichter@panavise.com (Gary Richter) 1997)
>It took the [founditems] to make it work. But using the sample templates >from classified ads as a model. The validator.tmpl has the [replace blah >blah] with no [founditems] in site. Operating under the impression that >[founditems] was only needed if I wanted to display the results not change >in background.The key difference here is that in the classifieds demo the replace is only changing one record. If you want to replace a whole bunch of records WITH THE EXACT SAME VALUE you can use replace alone. But if you want to loop thru a bunch of records and change something to a different value for each one, you should put the replace inside of a founditems loop.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ 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:

Include a big block of text (1997) WebCat2_Mac RETURNs in .db (1997) Editing two databases in one form using [replace]? (1998) Too many lines too add in one go (2003) PCS Frames (1997) too many nested tags ... (1997) A good idea? (1998) UPS Shipping (1999) HELP WITH DATES (1997) New public beta available (1997) The IBC root beer has arrived! (1997) 'does not contain' operator needed ... (1997) Locking up with WebCatalog... (1997) webcatalog [date] bug...not (1999) Country & Ship-to address & other fields ? (1997) [searchString] (1997) FAX orders (1996) Error Messages Returned to User (1997) error -108 (1997) Cobalt (2001)