Formula Question

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16727
interpreted = N
texte = I have a situation that requires a special calculation of the [subtotal] based on various date and dollar amount variables.It seems to me that this should be simple to pull off automatically in the formulas.db, but I have not been able to make it work. It's starting to not look so simple. HELP.Here's what I need to do:Orders placed by June 1, 1998, deduct 8% Orders placed by September 1, 1998 deduct 5% Orders placed by November 1, 1998 deduct 3%and also...Orders over $1,000.00 deduct 3% Orders over $2,000.00 deduct 5% Orders over $3,000.00 deduct 3%All of the above variables need to be checked and executed if they match. Has anyone tried to do anything like this, and if so please guide me in the right direction. I would be most grateful and will not have to lose anymore hair over it.Thanks,David T. Horn Associated Messages, from the most recent to the oldest:

    
  1. Formula Question (David T. Horn 1998)
I have a situation that requires a special calculation of the [subtotal] based on various date and dollar amount variables.It seems to me that this should be simple to pull off automatically in the formulas.db, but I have not been able to make it work. It's starting to not look so simple. HELP.Here's what I need to do:Orders placed by June 1, 1998, deduct 8% Orders placed by September 1, 1998 deduct 5% Orders placed by November 1, 1998 deduct 3%and also...Orders over $1,000.00 deduct 3% Orders over $2,000.00 deduct 5% Orders over $3,000.00 deduct 3%All of the above variables need to be checked and executed if they match. Has anyone tried to do anything like this, and if so please guide me in the right direction. I would be most grateful and will not have to lose anymore hair over it.Thanks,David T. Horn David T. Horn

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:

Selected Item in Pop-down (2003) ARGH! (2003) WebCat2b15MacPlugin - [protect] (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) [group] ? (1997) Users.db (1998) Where's 3.0 Online Docs? (1999) Re:Emailer and encryption (1997) calculating tax rates, mail order solutions and version 2 (1997) using showpage and showcart commands (1996) Setting up the server (1997) WC2b15 File Corruption (1997) GuestBook example (1997) Image upload (2000) [defined]ish (1997) Multiple 'Users.db' files not possible (1997) Search Philosophy (2001) Part Html part WebDNA (1997) Problem with broken images (2004) Help! WebCat2 bug (1997)