Re: Forumulas.db & Variables
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45877
interpreted = N
texte = Jesse Williams-Proudman wrote:> From reading the docs, I swear that TaxRate gets> calculated every time a [setheader] is used so the addlineitems shouldn't> matter...> Actually, it would be more accurate to note that TaxRate is used to calculate the TaxableTotal every time the cart is displayed. As long as the items are added to the cart with Taxable=Y, they will be part of the calculation.When using ?Command=Add or [AddLineItem], you may have a TaxRate record in your Formulas.db, which will populate/update the header TaxRate field. However, you can reset that at any later time and the whole order will be recalculated on the next display. Lastly, you can override all of this nonsense by setting your own TaxableTotal header, which will force the value to be fixed.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jesse Williams-Proudman wrote:> From reading the docs, I swear that TaxRate gets> calculated every time a [setheader] is used so the addlineitems shouldn't> matter...> Actually, it would be more accurate to note that TaxRate is used to calculate the TaxableTotal every time the cart is displayed. As long as the items are added to the cart with Taxable=Y, they will be part of the calculation.When using ?Command=Add or [addlineitem], you may have a TaxRate record in your formulas.db, which will populate/update the header TaxRate field. However, you can reset that at any later time and the whole order will be recalculated on the next display. Lastly, you can override all of this nonsense by setting your own TaxableTotal header, which will force the value to be fixed.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://webdna.smithmicro.com/
John Peacock
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:
WebCat2 beta 11 - new prefs ... (1997)
WebCatalog on OSX and %CPU (2003)
Count how many items in a summ total (2003)
Summary search -- speed (1997)
WebCatalog for Dummies p.1 (2000)
I'm new be kind (1997)
Frames and WebCat (1997)
Which GUI HTML editors work with WC ? (1997)
Merging databases (1997)
best way to limit # of attempts to login to protected page? (2000)
WebCatalog for Postcards ? (1997)
[WebDNA] Not even sure what to ask for help on. . . :( (2008)
Running 2 two WebCatalog.acgi's (1996)
Some Questions (1997)
Playin Tricks (2006)
Almost a there but..bye bye NetCloak (1997)
Email within tmpl ? (1997)
Using Plug-In while running 1.6.1 (1997)
Protect (1997)
Showing unopened cart (1997)