Re: Formulas.db not working

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66170
interpreted = N
texte = On Feb 3, 2006, at 12:09 PM, Donovan Brooke wrote: > Gary Krockover wrote: > >> Been a while myself- >> Don't you have to do some math on the price, i.e.: >> price[showif [sku]=12345][math][lookup >> db=catalog.txt&lookInField=sku&value=[sku]&returnField=price]/2[/ >> math][/showif] >> Gary > > > Gary, you are right. > > I appologise.. I didn't see the "/" symbol. > > Try Gary's suggestion. > That does not seem to be it. I have tried this and also just put a value in there instead of a formula. It does not seem to be modifying the value. Here is what I have: products.db ----------- skutitleprice 1test_item50 formulas.db ----------- price[math][lookup db=catalog.txt&lookInField=sku&value=[sku] &returnField=price]/2[/math] test.tpl -------- [addlineitem cart=5678&sku=1&db=products.db]quantity=5&textA=Red[/ addlineitem] [orderfile cart=5678] [lineitems] [sku], [price], [quantity]
[/lineItems] [/orderfile] ------------------------------------------------------------- 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:

    
  1. Re: Formulas.db not working ( Donovan Brooke 2006)
  2. Re: Formulas.db not working ( Brian Fries 2006)
  3. Re: Formulas.db not working ( Charles Kline 2006)
  4. Re: Formulas.db not working ( Donovan Brooke 2006)
  5. Re: Formulas.db not working ( Donovan Brooke 2006)
  6. Re: Formulas.db not working ( Charles Kline 2006)
  7. Re: Formulas.db not working ( Donovan Brooke 2006)
  8. Re: Formulas.db not working ( Charles Kline 2006)
  9. Re: Formulas.db not working ( "Dan Strong" 2006)
  10. Re: Formulas.db not working ( Charles Kline 2006)
  11. Re: Formulas.db not working ( Donovan Brooke 2006)
  12. Re: Formulas.db not working ( Charles Kline 2006)
  13. Re: Formulas.db not working ( Donovan Brooke 2006)
  14. Re: Formulas.db not working ( Donovan Brooke 2006)
  15. Re: Formulas.db not working ( Donovan Brooke 2006)
  16. Re: Formulas.db not working ( Gary Krockover 2006)
  17. Formulas.db not working ( Charles Kline 2006)
On Feb 3, 2006, at 12:09 PM, Donovan Brooke wrote: > Gary Krockover wrote: > >> Been a while myself- >> Don't you have to do some math on the price, i.e.: >> price[showif [sku]=12345][math][lookup >> db=catalog.txt&lookInField=sku&value=[sku]&returnField=price]/2[/ >> math][/showif] >> Gary > > > Gary, you are right. > > I appologise.. I didn't see the "/" symbol. > > Try Gary's suggestion. > That does not seem to be it. I have tried this and also just put a value in there instead of a formula. It does not seem to be modifying the value. Here is what I have: products.db ----------- skutitleprice 1test_item50 formulas.db ----------- price[math][lookup db=catalog.txt&lookInField=sku&value=[sku] &returnField=price]/2[/math] test.tpl -------- [addlineitem cart=5678&sku=1&db=products.db]quantity=5&textA=Red[/ addlineitem] [orderfile cart=5678] [lineitems] [sku], [price], [quantity]
[/lineItems] [/orderfile] ------------------------------------------------------------- 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/ Charles Kline

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:

Here we go again... (2006) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) list cookies and list http headers (1997) New WebMerchant/Mac beta available (1997) [WebDNA] Integration with QuickBooks (2011) Calculating multiple shipping... (1997) http upload (2001) rotating thumbnails (1997) [WebDNA] Grep the whole page (2012) WebCat for Unix?? (1997) Projects & Contractors (1997) Re:2nd WebCatalog2 Feature Request (1996) Support ?? (1997) Nested Loops and SHOWIFs (1997) WebCat2 - [format thousands] (1997) [shownext max=?] armed (1997) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) formulas.db (1999) block serving .db files (2002) protect tag on NT IIS (1997)