Counting LineItems
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31798
interpreted = N
texte = Hi All,I'm just starting to use Webcatalog 3.08 on a Mac (OS-9) with Webstar 4.2. Based on the tea room I am selling compact discs. Every compact disc has a unique name in the db. Every CD has a default [Price] value of $15. I want to calculate a price based on quantity discounts. So if someone buys 1 CD (1 lineitem) the price is $15. If they buy 3 CD's (3 lineitems) , I want the price to go to $12 a CD ($36). If they buy 6 (6 lineitems), I want the price to go to $10 a CD ($60). And if there were 4 or 5 line items the price would hold to $12 a CD.I believe I need to find the value of the number of lineitems, and use this value [xxx] in a lookup to the formula.db. Before I go mucking about, could someone steer me in the right direction on this?Charley ConquestFresh Music chas@valley.net-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi All,I'm just starting to use Webcatalog 3.08 on a Mac (OS-9) with Webstar 4.2. Based on the tea room I am selling compact discs. Every compact disc has a unique name in the db. Every CD has a default [Price] value of $15. I want to calculate a price based on quantity discounts. So if someone buys 1 CD (1 lineitem) the price is $15. If they buy 3 CD's (3 lineitems) , I want the price to go to $12 a CD ($36). If they buy 6 (6 lineitems), I want the price to go to $10 a CD ($60). And if there were 4 or 5 line items the price would hold to $12 a CD.I believe I need to find the value of the number of lineitems, and use this value [xxx] in a lookup to the formula.db. Before I go mucking about, could someone steer me in the right direction on this?Charley ConquestFresh Music chas@valley.net-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
chas@valley.net (chas)
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:
Web Cat and MS SQL 6.5 (1999)
autosensing lanague selection (1997)
RAM variables (1997)
founditems (2000)
WebCat2: multiple currency support (1997)
date sorting and 'template (1997)
Text data with spaces in them... (1997)
[WebDNA] Ubuntu and WebDNA (2019)
Re[2]: Bugs still *not* fixed as promised ... (2000)
[delete] problem (1997)
Where's Cart Created ? (1997)
Date comparison has serious bug ... (1998)
simple answer? [hideif] (1997)
multiple product databases (1997)
japanese characters (1997)
Associative lookup style? (1997)
[WebDNA] [OT] potential cheap WebDNA server? (2009)
How To question on setting up downloads (1997)
Upgrade to 3.07 problems (2000)
template not found error (1998)