Re: Bug when including a db file ... ?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26706
interpreted = N
texte = >At 10:36 PM -1000 1/28/00, Kenneth Grome wrote: >>It seems there is a bug -- at least in the NT version -- that prevents me >>from including a db file as a properly-formatted [sendmail] attachment >>*UNLESS* I flushdatabases before every attempt. >> >>Using commitdatabase (instead of flushdatabases) fails to work. USing >>closedatabase fails as well. The only thing that seems to work is using >>[flushdatabases] ... >> >>Why do I need to do this? I should not have to use ANY of these tags >>in order to include a db file, should I? > >Ken-- > >A quick workaround would be to write out the results of a search which >finds all records instead of trying to include the actual database file >(linebreaks added for clarity): I know, and a quicker work-around is simply to use the [flushdatabases] tag, because using that tag instead of [closedatabase] or [commitdatabases] actually works. However, the issue here is not how to find a work-around, the issue is that the NT version seems to require this before it will work properly. If I simply want to include the *current* data stored in the disk file, instead of what's cached in RAM, I ought to be able to do this without using [flushdatabases].But it doesn't work properly because instead of including the file as it exists on disk, the line breaks in the db file are ignored, thus screwing up the formatting -- as well as causing my MIME header code to fail.There are TWO unanswered question here:1- Why do I need to flush the data to disk on NT in order to make webcat include a database with its formatting intact?2- Why can't I use [closedatabase] instead? After all, the closedatabase tag is *supposed to* work just like the flushdatabases tag -- but on one database instead of on all of them.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Bug when including a db file ... ? (Kenneth Grome 2000)
  2. Re: Bug when including a db file ... ? (Kenneth Grome 2000)
  3. Re: Bug when including a db file ... ? (Lavandepastry@aol.com 2000)
  4. Re: Bug when including a db file ... ? (Dave MacLeay 2000)
  5. Bug when including a db file ... ? (Kenneth Grome 2000)
>At 10:36 PM -1000 1/28/00, Kenneth Grome wrote: >>It seems there is a bug -- at least in the NT version -- that prevents me >>from including a db file as a properly-formatted [sendmail] attachment >>*UNLESS* I flushdatabases before every attempt. >> >>Using commitdatabase (instead of flushdatabases) fails to work. USing >>closedatabase fails as well. The only thing that seems to work is using >>[flushdatabases] ... >> >>Why do I need to do this? I should not have to use ANY of these tags >>in order to include a db file, should I? > >Ken-- > >A quick workaround would be to write out the results of a search which >finds all records instead of trying to include the actual database file >(linebreaks added for clarity): I know, and a quicker work-around is simply to use the [flushdatabases] tag, because using that tag instead of [closedatabase] or [commitdatabases] actually works. However, the issue here is not how to find a work-around, the issue is that the NT version seems to require this before it will work properly. If I simply want to include the *current* data stored in the disk file, instead of what's cached in RAM, I ought to be able to do this without using [flushdatabases].But it doesn't work properly because instead of including the file as it exists on disk, the line breaks in the db file are ignored, thus screwing up the formatting -- as well as causing my MIME header code to fail.There are TWO unanswered question here:1- Why do I need to flush the data to disk on NT in order to make webcat include a database with its formatting intact?2- Why can't I use [closedatabase] instead? After all, the closedatabase tag is *supposed to* work just like the flushdatabases tag -- but on one database instead of on all of them.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Kenneth Grome

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:

show all problem (1997) [WebDNA] Dynamic vertical columns (2008) WebDelivery: One step closer !! (1997) iis 4.0 (1997) Authorize net woes (2003) Include files (1998) [WebDNA] Apache configuration fail when... (2013) WebCatalog for guestbook ? (1997) Frames and WebCat (1997) Security Tip (1996) BBEdit and WebCatalog 2.0? (1997) Variable prices and Formulas.db (1997) Using WebCat for product info requests (1997) Thanks ! (1997) RE: Problems with shopping cart (1997) Payment calculator ?? (2000) check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999) [CART] inside a [LOOP] (1997) why why why (2004) WebCatalog2 Feature Feedback (1996)