Re: mac hack

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13063
interpreted = N
texte = 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?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: mac hack (Michael Winston 1997)
  2. Re: mac hack (Grant Hulbert 1997)
  3. Re:mac hack (Jay Van Vark 1997)
  4. mac hack (Bob Minor 1997)
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?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ 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:

Download URL & access on the fly ? (1997) credit card (1997) [WebDNA] BBEdit WebDNA codeless language module (2016) [SHOWIF] (1997) New Guestbook Source (1997) PCS Frames (1997) RE: 2nd WebCatalog2 Feature Request (1996) Web Delivery First Time Setup Trouble (2000) [date] formatting bug inside [orderfile]? (1998) Quick Question About Sorting (1997) Updating a database once per day - An example (1998) TCPConnect Timeout (2003) Apache 2 (2003) [WebDNA] find missing file in [listfiles] (2019) sort problems....bug or brain fart? (1997) unable to launch acgi in WebCat (1997) Moving files from one server to another... (2001) A little syntax help (1997) [WriteFile] problems (1997) Max Record length restated as maybe bug (1997)