setitems, one more thing

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12414
interpreted = N
texte = Grant, Thanks for the explanation on setitems. It worked fine up to one point. The calculations of the [subtotal] still gave me the quantity of the lower than minimum value entered by the user. The [setlineitem] command makes the quantity and price format right for each indivual lineitem, but when calculating the subtotal of ALL lineitems, the lower than minimumquantity arises again. For instance in a minimum setting of 10 and the customer enters 1 for a product that costs 10$. The [setlineitems] command would do something like the following: -------------------------order product price qty amount1 A 10$ 10 $100 subtotal: $10 Is there one more setlineitem commmand I need to do for the [subtotal]? Thanks. Kev Associated Messages, from the most recent to the oldest:

    
  1. Re: setitems, one more thing (Grant Hulbert 1997)
  2. setitems, one more thing (Kevin Furuta 1997)
Grant, Thanks for the explanation on setitems. It worked fine up to one point. The calculations of the [subtotal] still gave me the quantity of the lower than minimum value entered by the user. The [setlineitem] command makes the quantity and price format right for each indivual lineitem, but when calculating the subtotal of ALL lineitems, the lower than minimumquantity arises again. For instance in a minimum setting of 10 and the customer enters 1 for a product that costs 10$. The [setlineitems] command would do something like the following: -------------------------order product price qty amount1 A 10$ 10 $100 subtotal: $10 Is there one more setlineitem commmand I need to do for the [subtotal]? Thanks. Kev Kevin Furuta

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:

Just Testing (1997) Integration with SQL (1997) Emailer problem....still (1997) [WebDNA] List Files question (2009) Projects & Contractors (1997) PARAMETER vs. OPERATOR (was The BUG is BACK ...) (1998) numfound=0 for a search after going into the SSL (2003) Netscape Communicator 4 (1997) Searching for Nothing (1998) Problems with [Applescript] (1997) searchable list archive (1997) Quit revisited (1997) Re:listfiles-looking for slick solution (1997) Emailer setup (1997) [shell]? (2000) Security - 2 (1999) Tab Charactor (1997) What is WebDNA (1997) Writing [raw] to a file (2000) Developer Edition (2004)