Still can't get this taxrate to work...

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25515
interpreted = N
texte = The goal is to lookup the tax rate based on [State] if [ShipToState] is blank. So I've put this line in taxrates.db:taxRate [lookup db=taxrates.db&lookInField=State&value=[showif [ShipToState]>][ShipToState][/showif][showif [ShipToState]=][State][/showif]&returnField=taxRate¬Found=0.00]This returns 0.00.I've tried wrapping [taxRate] with an [interpret] context in my .tpl page, but to no avail.Seems like it should work; what am I doing wrong?TIA,Kevin Lippert------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Still can't get this taxrate to work... (jpeacock@univpress.com 1999)
  2. Still can't get this taxrate to work... (Kevin Lippert 1999)
The goal is to lookup the tax rate based on [State] if [ShipToState] is blank. So I've put this line in taxrates.db:taxRate [lookup db=taxrates.db&lookInField=State&value=[showif [ShipToState]>][ShipToState][/showif][showif [ShipToState]=][State][/showif]&returnField=taxRate¬Found=0.00]This returns 0.00.I've tried wrapping [taxRate] with an [interpret] context in my .tpl page, but to no avail.Seems like it should work; what am I doing wrong?TIA,Kevin Lippert------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Kevin Lippert

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:

ShowNext Command (1997) did I miss anything (1997) quick [middle] Q (2000) [WebDNA] NoSQL: sharing some ideas (2013) frames & carts (1997) Problems adding stuff to the shopping cart. (1997) Preventing Merchant Settling ? (1997) japanese characters (1997) ShowNext (was New WebCatalog Site) (1997) Multiple catalog databases and showcart (1997) Need relative path explanation (1997) Last desperate attempt (1998) Req: Array Tags Explained, simple and clear (2004) Variables from a long text string (2000) Web Catalog 2 demo (1997) PCS Frames (1997) Customer - again (1998) Bug Report, maybe (1997) access denied problem (1997) [Sum] function? (1997)