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:

no global [username] or [password] displayed ... (1997) [SearchString] problem with [search] context (1997) Strange intermittent WebDNA problems (2008) RE: Automatic Forwarding using WebCat (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) FREE Web Server Monitor FREE (1997) [searchString] (1997) using showpage and showcart commands (1996) WebCat2.0 [format thousands .0f] no go (1997) authorize.net hex coded variables (2002) [append] vs. [appendfile] delta + question? (1997) Encrypting the seed (2001) Flat-file to XML converter (2006) Possible Bug in 2.0b15.acgi (1997) Extended [ConvertChars] (1997) Text data with spaces in them... (1997) Determining Method (2000) Emails sent twice (2000) Not sending email !!! (2002) WebCat2final1 crashes (1997)