Databases inside [SHOWIF]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17263
interpreted = N
texte = WebCat 2.1.2 PluginI just noticed that databases that are referenced inside a [SHOWIF] are opeend, even if the [SHOWIF] is false.So:[SHOWIF 1=0] [Lookup db=/test.db&value=5&lookinfield=sku&returnfield=CODE] [/SHOWIF]will result in test.db being opened (even if this is the only place the db is referenced).Is this a bug? It would seem to me that WebCat should only open dbs when necessary.MichaelMichael Winston *By e-mail!: michaelw@dhorse.com Internet Coordinator *By web!: http://www.dhorse.com/ Dark Horse Comics, Inc. *By fax!: 503/654/9440 Associated Messages, from the most recent to the oldest:

    
  1. Re: Databases inside [SHOWIF] (Kenneth Grome 1998)
  2. Re: Databases inside [SHOWIF] (Peter Ostry 1998)
  3. Re: Databases inside [SHOWIF] (Kenneth Grome 1998)
  4. Re: Databases inside [SHOWIF] (PCS Technical Support 1998)
  5. Databases inside [SHOWIF] (Michael Winston 1998)
WebCat 2.1.2 PluginI just noticed that databases that are referenced inside a [showif] are opeend, even if the [showif] is false.So:[SHOWIF 1=0] [Lookup db=/test.db&value=5&lookinfield=sku&returnfield=CODE] [/SHOWIF]will result in test.db being opened (even if this is the only place the db is referenced).Is this a bug? It would seem to me that WebCat should only open dbs when necessary.MichaelMichael Winston *By e-mail!: michaelw@dhorse.com Internet Coordinator *By web!: http://www.dhorse.com/ Dark Horse Comics, Inc. *By fax!: 503/654/9440 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:

WebCatalog can't find database (1997) FYI: SmithMicro Financial Report (2000) taxTotal (1997) Archives (2001) Exclude by date - multiple (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) AutoReload? RequireComment? InterpretAll? (1999) Bug? (1997) default error on NT? (1997) carriage returns in data (1997) Buying sans cart (1997) WebCat for Unix?? (1997) Feature req. (2002) Emailer again (1997) F3 crashing server (1997) quantity minimum problem (1997) xml - amazon bug and sed q: (2004) Emailer errors (1997) [ShowNext] feature in 2.0 (1997) WC2f3 (1997)