Re: formula inside database to calculate weights

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15816
interpreted = N
texte = >I have some products that have weights that depend upon which options are >chosen. I tried to put the formula for calculating the weights inside >the [weight] field. But this WebDNA is not evaluated when the data field >is retrieved. If I display the [weight] field, it displays the whole >formula in all the gory WebDNA detail. > >I thought this should work. What am I missing?If you want to force some text from a field to be interpreted as WebDNA, then wrap [Interpret[ around it, as in [Interpret][weight][/Interpret].Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: formula inside database to calculate weights (Grant Hulbert 1997)
  2. formula inside database to calculate weights (Sandra L. Pitner 1997)
  3. Re: formula inside database to calculate weights (Kenneth Grome 1997)
>I have some products that have weights that depend upon which options are >chosen. I tried to put the formula for calculating the weights inside >the [weight] field. But this WebDNA is not evaluated when the data field >is retrieved. If I display the [weight] field, it displays the whole >formula in all the gory WebDNA detail. > >I thought this should work. What am I missing?If you want to force some text from a field to be interpreted as WebDNA, then wrap [Interpret[ around it, as in [interpret][weight][/Interpret].Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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:

multi-paragraph fields (1997) taxTotal, grandTotal (1997) forming a SKU (1999) [SearchString] usage (1997) Math Help (2000) can we get string variables? (1998) Navigator 4.01 (1997) How true is this? (1999) Searching multiple records for certain info (2000) Windows-based Code Editor (2002) [WebDNA] checking for mixed case text (2009) Static pages and store builder (2000) Secure server question (1997) filemaker - orderfile (1997) problems with WebCat-Plugin () AOL and referrers on target=_blank (2000) RE: redirect with more than 256 characters (1999) WebCat2b15MacPlugin - showing [math] (1997) Scoping rules in WebDNA 4.0 (2000) SiteEdit NewFile.html ? (1997)