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:

WebDNA permissions? (2002) Banner DNA (1997) [WebDNA] Encrypt / Decrypt weirdness..... plus some date weirdness (2015) redirect from the errorsMessages.db entry (1997) [WebDNA] error installing 6.2 on ubuntu (2011) bug in [SendMail] (1997) Not really WebCat (1997) [WebDNA] Problem with SendMail - seems succesfull but nothing to (2016) converting dates in database (1998) WebCatalog can't find database (1997) So many lookers, hey smith micro (2003) Summing fields (1997) Time code! (2002) [ShowNext] (2007) [UPPERCASE] (1997) [WebDNA] Ubuntu 14.04 & WebDNA (2017) ShowNext Command (1997) WebCat2 - Getting to the browser's username/password data (1997) [tcpsend] (2001) Searching for foreign chars (2004)