Re: Storing calculated data

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45421
interpreted = N
texte = Make sure that you specify the orderfile.It may be something like cart=[cart]On Tuesday, November 19, 2002, at 12:14 PM, Eric wrote:> Dear Stuart: > > It did not work. > > I got the following error message: > > Error: Can't open order file. Ignoring [OrderFile] context > > Eric > > At 12:01 PM 11/19/2002 +1100, you wrote: >> [Orderfile file=file] >> >> [Math show=F]BW=0[lineitems]+([lookup >> db=admin/products.db&lookinfield=SKU&value=[url][sku][/ >> url]&returnfield=WEIGHT]*[quantity])[/lineitems][/Math] >> >> [/OrderFile] >> >> >> Then when you need the value call the Math variable .... >> >> Here is the total weight = [BW] >> >> >> >> >> >> >> On Tuesday, November 19, 2002, at 10:52 AM, Eric wrote: >> >>> [BW]=[math]0[lineitems]+[lookup >>> db=admin/products.db&lookinfield=SKU&value=[url][sku][/ >>> url]&returnfield=WEIGHT]*[quantity][/lineitems][/math] >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> >> ------------------------------------------------------------- >> 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://search.smithmicro.com/ >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> ow3 >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> ow3 > > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ > > RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Storing calculated data (Stuart Tremain 2002)
  2. Re: Storing calculated data (Donovan Brooke 2002)
  3. Re: Storing calculated data (Michael Davis 2002)
  4. Re: Storing calculated data (Eric 2002)
  5. Re: Storing calculated data (Stuart Tremain 2002)
  6. Re: Storing calculated data (Eric 2002)
  7. Re: Storing calculated data (Stuart Tremain 2002)
  8. Storing calculated data (Eric 2002)
Make sure that you specify the orderfile.It may be something like cart=[cart]On Tuesday, November 19, 2002, at 12:14 PM, Eric wrote:> Dear Stuart: > > It did not work. > > I got the following error message: > > Error: Can't open order file. Ignoring [orderfile] context > > Eric > > At 12:01 PM 11/19/2002 +1100, you wrote: >> [Orderfile file=file] >> >> [Math show=F]BW=0[lineitems]+([lookup >> db=admin/products.db&lookinfield=SKU&value=[url][sku][/ >> url]&returnfield=WEIGHT]*[quantity])[/lineitems][/Math] >> >> [/OrderFile] >> >> >> Then when you need the value call the Math variable .... >> >> Here is the total weight = [BW] >> >> >> >> >> >> >> On Tuesday, November 19, 2002, at 10:52 AM, Eric wrote: >> >>> [BW]=[math]0[lineitems]+[lookup >>> db=admin/products.db&lookinfield=SKU&value=[url][sku][/ >>> url]&returnfield=WEIGHT]*[quantity][/lineitems][/math] >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> >> ------------------------------------------------------------- >> 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://search.smithmicro.com/ >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> ow3 >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> ow3 > > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ > > RegardsStuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837------------------------------------------------------------- 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://search.smithmicro.com/ Stuart Tremain

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:

(1997) [random] only for 1-100??? (1997) wrong input values? (1997) Displaying text and populating form fields (2005) b12 cannot limit records returned and more. (1997) getting images' width/height (1998) Paramater Passing Value (2002) How do I handle extra spaces? (2002) Date Sorting (1997) Only charge card when product shipped ? (1997) shipcost (1997) decrypt - encrypt (1999) & Aftermath (1999) View order not right (1997) [object] context (2002) Re:add line item context and showitems (1998) Pithy questions on webcommerce & siteedit (1997) Selected Item in Pop-down (2003) [WebDNA] Pretty URLS (2011) SSL Certs (2003)