multiple price line in formula.db

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56316
interpreted = N
texte = Having problems with getting one price for retail and one price for wholesale customers. I have two different price fields and the following in the formula.db for the price line. [if cust=wholesale [then][lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=wprice] [/then] [else] [lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=rprice] [/else] [/if] Should I be using the [showif] instead? sc ------------------------------------------------------------- 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: multiple price line in formula.db ( Donovan Brooke 2004)
  2. Re: multiple price line in formula.db ( Gary Krockover 2004)
  3. Re: multiple price line in formula.db ( Steve Chun 2004)
  4. Re: multiple price line in formula.db ( Tim Robinson 2004)
  5. Re: multiple price line in formula.db ( Gary Krockover 2004)
  6. Re: multiple price line in formula.db ( Tim Robinson 2004)
  7. Re: multiple price line in formula.db ( Steve Chun 2004)
  8. Re: multiple price line in formula.db ( Donovan Brooke 2004)
  9. Re: multiple price line in formula.db ( Donovan Brooke 2004)
  10. Re: multiple price line in formula.db ( Tim Robinson 2004)
  11. Re: multiple price line in formula.db ( Steve Chun 2004)
  12. Re: multiple price line in formula.db ( Tim Robinson 2004)
  13. Re: multiple price line in formula.db ( Steve Chun 2004)
  14. Re: multiple price line in formula.db ( Donovan Brooke 2004)
  15. Re: multiple price line in formula.db ( Donovan Brooke 2004)
  16. multiple price line in formula.db ( Steve Chun 2004)
Having problems with getting one price for retail and one price for wholesale customers. I have two different price fields and the following in the formula.db for the price line. [if cust=wholesale [then][lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=wprice] [/then] [else] [lookup db=inventory.db&lookInField=SKU&value=[SKU]&returnField=rprice] [/else] [/if] Should I be using the [showif] instead? sc ------------------------------------------------------------- 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/ Steve Chun

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:

webcat2b12 CGI -- Date comparisons (1997) WebSTAR/WebCatalog losing files (2000) FYI: virus alert (1996) WebCat on Intel Core 2 macs anyone? (2007) Nesting format tags (1997) Clickable maps and WebCatalog? (1996) SSL and Webcat Authentication with IIS 5.0 on Win2K box (2000) Standalone Testing (1998) [defined]ish (1997) PCS Frames (1997) make a beep (2004) SKU Question (1999) Quiz question: Return all green and blank records? (2001) WebStar Compatibility (thx) (2003) Fun with Dates - finally resolved but.... (1997) Can I invoke an ssi plugin from within a webcat page (1997) Summing fields (1997) Implementing Gift Certificates in online store (1998) WebCat2b13 Command Reference Doc error (1997) Re:listfiles-looking for slick solution (1997)