Re: Multiple Replaces?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15695
interpreted = N
texte = One of the cool things about our [replace] and [delete] contexts/tags is that they can act on one or multiple records at one time. Since each require search criteria, make sure your search for replace finds all the records by one manufacturer and then reset that one field. Something like the following:[replace db=blah.db&eqmanufacturerdatarq=PCS]onSale=T[/replace]John.>Hi all,>>Is there a way to do multiple replaces to the db. I want to be able to >find a list of products, say all by one vendor, and mark them as on sale. >If I could use something in the way of the [index] tag perhaps, much as >it is used in the quantity section of the shopping cart.>>Has anyone done this ? If I don't need to reinvent the wheel, it would be >great.>>Jerry Nielsen>>jnielsen@rosearbour.com>www.rosearbour.com >>Yes! It does really exist now. ;>) John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
One of the cool things about our
[replace] and
[delete] contexts/tags is that they can act on one or multiple records at one time. Since each require search criteria, make sure your search for replace finds all the records by one manufacturer and then reset that one field. Something like the following:[replace db=blah.db&eqmanufacturerdatarq=PCS]onSale=T[/replace]John.>Hi all,>>Is there a way to do multiple replaces to the db. I want to be able to >find a list of products, say all by one vendor, and mark them as on sale. >If I could use something in the way of the [index] tag perhaps, much as >it is used in the quantity section of the shopping cart.>>Has anyone done this ? If I don't need to reinvent the wheel, it would be >great.>>Jerry Nielsen>>jnielsen@rosearbour.com>www.rosearbour.com >>Yes! It does really exist now. ;>) John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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:
HomePage Caution (1997)
javascript implementation of MD5 algorithm for Authorize.Net (2003)
something simple? (1998)
Searching for all records (1998)
Who needs Yoda! (2002)
2.0.1 new commands and contexts (1997)
Multiple prices (1997)
[Capitalize] (1998)
Spaces inside [AppendFile] (1998)
Mozilla/4. and Browser Info.txt (1997)
Username for Admin Group (1997)
RE: WebCatalog2 for NT Beta Request (1997)
PCS Frames (1997)
off topic - dna snipets (1997)
Emailing html (1998)
Running _every_ page through WebCat ? (1997)
WebMerchant 1.6 and SHTML (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Cookies (1999)