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:

WebCAT has the devil in it! (2003) Webten + Webcat running smooth (1998) Claris HomePage messes up the code (1997) setting cookies then redirecting? (1998) For those of you not on the WebCatalog Beta... (1997) Physical Security for WebCatalog Directories (1997) upgrade? (1997) Rendering out a page (1997) Re:no [search] with NT (1997) My first ship table (1998) suggestions for a Windows based text editor? (2004) Location of Browser Info.txt file (1997) Merging databases (1997) F*** you (1998) Date Calulation (1997) Separate SSL Server (1997) Modulo function? (2000) WebCat2b12 CGI Mac - [shownext] problem (1997) WebCat2 Append problem (B14Macacgi) (1997) Multiple fields on 1 input (1997)