Re: Forumulas.db & Variables

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45831
interpreted = N
texte = Right, but the variable names are incorrect in the formulas.db. It simply will not recognize them. Pass the values in TextA-E fields instead and use those names in the Formula.You will also have to use TextA-E names in the lineitems loop to see their values.See for a list of the field names that can be used to set price and shipping values from the Formulas.db. Unless you use these names, the lineitems loop simply will not change [price] or other $$ stuff like shipping cost.> >taxRate [showif [url][state][/url]=WA]8.25[/showif]0 taxRate [showif [TextA]=WA]8.25[/showif]0> >shipCost [showif [ShipVia]=1]5[/showif][showif >[ShipVia]=2]10[/showif][showif [ShipVia]=3]15[/showif]100 > shipCost [showif [TextB]=1]5[/showif][showif [ShipVia]=2]10[/showif][showif [TextB]=3]15[/showif]100 Glenn------------------------------------------------------------- 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: Forumulas.db & Variables (Donovan 2002)
  2. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  3. Re: Forumulas.db & Variables (Alain Russell 2002)
  4. Re: Forumulas.db & Variables (Andrew Simpson 2002)
  5. Re: Forumulas.db & Variables (Alain Russell 2002)
  6. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  7. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  8. Re: Forumulas.db & Variables (Donovan 2002)
  9. Re: Forumulas.db & Variables (Donovan 2002)
  10. Re: Forumulas.db & Variables (Gary Krockover 2002)
  11. Re: Forumulas.db & Variables (John Peacock 2002)
  12. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  13. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  14. Re: Forumulas.db & Variables (Donovan 2002)
  15. Re: Forumulas.db & Variables (Donovan 2002)
  16. Re: Forumulas.db & Variables (John Peacock 2002)
  17. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  18. Re: Forumulas.db & Variables (Donovan 2002)
  19. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  20. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  21. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  22. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  23. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  24. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  25. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  26. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  27. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  28. Re: Forumulas.db & Variables (WJ Starck 2002)
  29. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  30. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  31. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  32. Re: Forumulas.db & Variables (WJ Starck 2002)
  33. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  34. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  35. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  36. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  37. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  38. Re: Forumulas.db & Variables (Donovan Brooke 2002)
  39. Re: Forumulas.db & Variables (Larry Goodhew 2002)
  40. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  41. Re: Forumulas.db & Variables (Gary Krockover 2002)
  42. Re: Forumulas.db & Variables (Larry Goodhew 2002)
  43. Re: Forumulas.db & Variables (WJ Starck 2002)
  44. Re: Forumulas.db & Variables (Larry Goodhew 2002)
  45. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  46. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  47. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  48. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  49. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  50. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  51. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  52. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  53. Re: Forumulas.db & Variables (WJ Starck 2002)
  54. Re: Forumulas.db & Variables (Jesse Williams-Proudman 2002)
  55. Re: Forumulas.db & Variables (Glenn Busbin 2002)
  56. Forumulas.db & Variables (Jesse Williams-Proudman 2002)
Right, but the variable names are incorrect in the formulas.db. It simply will not recognize them. Pass the values in TextA-E fields instead and use those names in the Formula.You will also have to use TextA-E names in the lineitems loop to see their values.See for a list of the field names that can be used to set price and shipping values from the formulas.db. Unless you use these names, the lineitems loop simply will not change [price] or other $$ stuff like shipping cost.> >taxRate [showif [url][state][/url]=WA]8.25[/showif]0 taxRate [showif [TextA]=WA]8.25[/showif]0> >shipCost [showif [ShipVia]=1]5[/showif][showif >[ShipVia]=2]10[/showif][showif [ShipVia]=3]15[/showif]100 > shipCost [showif [TextB]=1]5[/showif][showif [ShipVia]=2]10[/showif][showif [TextB]=3]15[/showif]100 Glenn------------------------------------------------------------- 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/ Glenn Busbin

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:

ARGH! (2004) [ShowNext] feature in 2.0 (1997) [authenticate] (1999) RE: WebCat and image maps (1997) RE: E-mailer error codes (1997) acgi to plugin migration problems (2000) Install WebDNA 6.0 into MAMP/Apache 2.0 on OS X ... (2005) price carry over (1997) [WebDNA] 30 Minute Cookies (2016) Decimal point in search.... (2004) Re:no [search] with NT (1997) search for all (1998) Date on ViewOrders.tpl (1998) Shopping cart now bad (1997) Formatting a .txt file (1998) [isfile] ? (1997) really wierd browser truncating (1997) WebCat Contest Please Clarify (1998) WebCat on Alpha? (1997) Convertchars Problem (2004)