Nested [SEARCH] and [REPLACE] problem.

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13066
interpreted = N
texte = Oops! I accidentally sent this question with the Subject reading Re: mac hack. It has nothing to do with Mac hacks. I've sent it again so that it may get some attention....Sorry for the duplication. Michael *****************************I'm trying to write an admin page that let's me update inventory quantities without shutting down my web server. To do this, I1) Flush databases 2) Replace the quantities in the OLD database with quantities from a NEW database and 3) Flush database so that the changes are not just in RAM in case something crashes.Steps 1 and 3 are easy, but step 2 doesn't seem to work so well. Here's the code that I'm using. I can't find anything wrong with it:[SEARCH db=DB/NEW_Inventory.db&neskudata=0] [FOUNDITEMS] [Replace db=DB/OLD_Inventory.db&neSKUdata=0] QTY=[QTY]&Append=T [/Replace] [/FOUNDITEMS] [/SEARCH]What am I doing wrong? Is there a better way to do it?Michael Associated Messages, from the most recent to the oldest:

    
  1. RE: Nested [SEARCH] and [REPLACE] problem. (Marc Eagle 1997)
  2. Nested [SEARCH] and [REPLACE] problem. (Michael Winston 1997)
Oops! I accidentally sent this question with the Subject reading Re: mac hack. It has nothing to do with Mac hacks. I've sent it again so that it may get some attention....Sorry for the duplication. Michael *****************************I'm trying to write an admin page that let's me update inventory quantities without shutting down my web server. To do this, I1) Flush databases 2) Replace the quantities in the OLD database with quantities from a NEW database and 3) Flush database so that the changes are not just in RAM in case something crashes.Steps 1 and 3 are easy, but step 2 doesn't seem to work so well. Here's the code that I'm using. I can't find anything wrong with it:[SEARCH db=DB/NEW_Inventory.db&neskudata=0] [founditems] [Replace db=DB/OLD_Inventory.db&neSKUdata=0] QTY=[QTY]&Append=T [/Replace] [/FOUNDITEMS] [/SEARCH]What am I doing wrong? Is there a better way to do it?Michael Michael Winston

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:

WebCatalog for Postcards ? (1997) webcat (2000) WebDNA with WebStar V (2003) WebCatalog vs. Cold Fusion (1998) won't serve .tpl -not permissions- can't process .tpl (2000) Getting the width and height of gif files (2000) RequiredFields template (1997) [WebDNA] Yosemite (2014) Searching Multiple Databases (2000) Help!!!! Purchases not going through! FIXED! (1997) Text data with spaces in them... (1997) Dummy Credit Card Number for debug? (1997) all db's in one folder and protected (1998) Multiple Unique SKUs (2000) Sku numbers (1997) flushdatabases (2000) Fields (2000) Separate SSL Server (1997) Requiring that certain fields be completed (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)