Re: Formulas.db + Users.db

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12174
interpreted = N
texte = >>I open up the formulas.db file and added a new formula (actually copied >>and pasted the price and changed the name), I then commited the database >>in the catalog administartion but it still doesn't recognise it. > Richard Wylie rickw@magna.com.au wrote: >I had this problem, I found that restarting Webstar worked. I tried >flushing the Webcatalog and Webstar caches and they didn't work either. >Only restarting webstar solved the problem. >There's got to be a way around this?I think what you are running into is that you forgot to close the DB _before_ the edits. If the DB is open when you do the edits it will be promptly overwritten by the DB held in RAM as soon as you close it or commit it (the RAM copy). It does lead to an interesting timing dance if you are trying to update a DB that is live and being used :-) -Sven_____________________________________________________________________ Sven U. Grenander BeeHive Technologies, Inc. http://www.bzzzzzz.com - with a WebCam in Pasadena, California _____________________________________________________________________ Associated Messages, from the most recent to the oldest:

    
>>I open up the formulas.db file and added a new formula (actually copied >>and pasted the price and changed the name), I then commited the database >>in the catalog administartion but it still doesn't recognise it. > Richard Wylie rickw@magna.com.au wrote: >I had this problem, I found that restarting Webstar worked. I tried >flushing the Webcatalog and Webstar caches and they didn't work either. >Only restarting webstar solved the problem. >There's got to be a way around this?I think what you are running into is that you forgot to close the DB _before_ the edits. If the DB is open when you do the edits it will be promptly overwritten by the DB held in RAM as soon as you close it or commit it (the RAM copy). It does lead to an interesting timing dance if you are trying to update a DB that is live and being used :-) -Sven_____________________________________________________________________ Sven U. Grenander BeeHive Technologies, Inc. http://www.bzzzzzz.com - with a WebCam in Pasadena, California _____________________________________________________________________ Sven U. Grenander

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:

problems with 2 tags (1997) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) [isfile] ? (1997) New user...how do I create URLs from form fields? (2000) serial number generation (1997) Snake Bites (1997) select multiple (1997) WebCatalog [FoundItems] Problem - LONG - (1997) form data submission gets truncated (1997) taxTotal, grandTotal (1997) More questions about serial number dishing (1997) [ShowNext] (1997) Pieces Show Up! Curse You! (2000) Moment of Thanks (1997) Setting up shop (1997) Unanswered trigger questions ... (2003) Format of Required fields error message (1997) Invisible files (2002) quotes and truncating? (1997) Date Question (2002)