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:
Not really WebCat (1997)
WebCat2 several catalogs? (1997)
Browsername (1998)
Order not created error (1997)
lookups or math? (1998)
Cookie Question (1999)
Template transformed itself into a database? (1998)
My own list archives (2001)
WebCat2b13MacPlugIn - More limits on [include] (1997)
$Replace with [founditems] (1997)
[/application] error? (1997)
SiteGuard Admin Feature ? (1997)
Summing fields (1997)
Forbidden CGI Error (1997)
WC Database Format (1997)
Requiring that certain fields be completed (1997)
Error -108 (1997)
question: webmerchant connection (1997)
WebCat2b13MacPlugIn - [include] (1997)
The Guru Speaks-Is That Really the Only Manuel? (1998)